<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <link rel="canonical" href="https://blog.csdn.net/hj_xy_0705/article/details/85011072"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta name="renderer" content="webkit"/>
    <meta name="force-rendering" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="report" content='{"pid":"blog"}'>
    <meta name="referrer" content="always">
    <meta http-equiv="Cache-Control" content="no-siteapp" /><link rel="alternate" media="handheld" href="#" />
    <meta name="shenma-site-verification" content="5a59773ab8077d4a62bf469ab966a63b_1497598848">
        <meta name="csdn-baidu-search"  content='{"autorun":true,"install":true,"keyword":"爬虫获取网页数据，报错：UnicodeDecodeError: utf-8 codec cant decode byte 0x8b in position 1: invalid start by_爬虫_hj_xy_0705的博客-CSDN博客"}'>
    
    <link href="https://csdnimg.cn/public/favicon.ico" rel="SHORTCUT ICON">
    <title>爬虫获取网页数据，报错：UnicodeDecodeError: utf-8 codec cant decode byte 0x8b in position 1: invalid start by_爬虫_hj_xy_0705的博客-CSDN博客</title>
    <meta name="description" content="源码：importurllib.requesturl=https://www.mzitu.com/#设置headers,网站判断浏览器以及操作系统header={User-Agent,Mozilla/5.0(WindowsNT6.1;WOW64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/63.0....爬虫">
    <script src='//g.csdnimg.cn/tingyun/1.8.3/blog.js' type='text/javascript'></script>
        
                    <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/new_css/detail_enter-4a90768633.min.css">
                            <script type="application/ld+json">{"@context":"https:\/\/ziyuan.baidu.com\/contexts\/cambrian.jsonld","@id":"https:\/\/blog.csdn.net\/hj_xy_0705\/java\/article\/details\/85011072","appid":1638831770136827,"title":"\u722c\u866b\u83b7\u53d6\u7f51\u9875\u6570\u636e\uff0c\u62a5\u9519\uff1aUnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start by_\u722c\u866b_hj_xy_0705\u7684\u535a\u5ba2-CSDN\u535a\u5ba2","pubDate":"2020-05-18T23:17:17","upDate":"2018-12-15T00:36:02"}</script>
    
            <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/themes_skin/skin-blue/skin-blue-84ca40e481.min.css">
    
<!--    自定义皮肤样式-->
    
    <script type="text/javascript">
        var username = "hj_xy_0705";
        var blog_address = "https://blog.csdn.net/hj_xy_0705";
        var static_host = "https://csdnimg.cn/release/phoenix/";
        var currentUserName = "";
        var isOwner = false;
        var loginUrl = "http://passport.csdn.net/account/login?from=https://blog.csdn.net/hj_xy_0705/java/article/details/85011072"
        var blogUrl = "https://blog.csdn.net/";

        var curSkin = "skin-blue";
        // 收藏所需数据
        var articleTitle = "爬虫获取网页数据，报错：UnicodeDecodeError: utf-8 codec cant decode byte 0x8b in position 1: invalid start by";
        var articleDesc = "源码：importurllib.requesturl=https://www.mzitu.com/#设置headers,网站判断浏览器以及操作系统header={User-Agent,Mozilla/5.0(WindowsNT6.1;WOW64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/63.0....爬虫";

        var articleTitles = "爬虫获取网页数据，报错：UnicodeDecodeError: utf-8 codec cant decode byte 0x8b in position 1: invalid start by_爬虫_hj_xy_0705的博客-CSDN博客";
        
        var nickName = "浪迹红尘只为伊人";
        var isCorporate = false;
        var subDomainBlogUrl = "https://blog.csdn.net/"
        var digg_base_url = "https://blog.csdn.net/hj_xy_0705";
        var articleDetailUrl = "https://blog.csdn.net/hj_xy_0705/article/details/85011072";
        var isShowThird = "0"
        var skinStatus = "White"
        var canRead = true;
        
        var sideToolbarVersion = 2.2;
    </script>
    <script src="https://csdnimg.cn/public/common/libs/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
    <!--js引用-->
            <script src="//g.csdnimg.cn/??fixed-sidebar/1.1.6/fixed-sidebar.js,report/1.5.0/report.js" type="text/javascript"></script>
    <link rel="stylesheet" href="https://csdnimg.cn/public/sandalstrap/1.4/css/sandalstrap.min.css">
    <style>
        .MathJax, .MathJax_Message, .MathJax_Preview{
            display: none
        }
    </style>
</head>
<body class="nodata " > 
    <link rel="stylesheet" href="https://csdnimg.cn/public/common/toolbar/content_toolbar_css/content_toolbar.css">
    <script id="toolbar-tpl-scriptId" src="https://csdnimg.cn/public/common/toolbar/js/content_toolbar.js" type="text/javascript" domain="https://blog.csdn.net/"></script>
    <script>
    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>
<link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/new_css/blog_code-c3a0c33d5c.css">
<link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/vendor/pagination/paging-e040f0c7c8.css">

<script type="text/javascript">
	var NEWS_FEED = function(){}
</script>

<link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/new_css/chart-3456820cac.css" />
<div class="main_father clearfix d-flex justify-content-center" style="height:100%;"> 
    <div class="container clearfix" id="mainBox">
        <aside class="blog_container_aside">
	<!--主页引入-->

    <div id="asideProfile" class="aside-box">
    <div class="profile-intro d-flex">
        <div class="avatar-box d-flex justify-content-center flex-column">
            <a href="https://blog.csdn.net/hj_xy_0705"  data-report-click='{"mod":"popu_379","dest":"https://blog.csdn.net/hj_xy_0705","ab":"new"}'>
                <img src="https://profile.csdnimg.cn/A/C/8/3_hj_xy_0705" class="avatar_pic" username='hj_xy_0705'>
            </a>
        </div>
        <div class="user-info d-flex flex-column profile-intro-name-box">
            <div>
                                <a href="https://blog.csdn.net/hj_xy_0705" class="" id="uid" title='浪迹红尘只为伊人' data-report-click='{"mod":"popu_379","dest":"https://blog.csdn.net/hj_xy_0705","ab":"new"}' >
                    <span class="name " username='hj_xy_0705'>
                        浪迹红尘只为伊人                    </span>
                </a>
                <span></span>
                <span class="flag expert-blog"><span class="bubble">CSDN认证博客专家</span></span>
                <span class="flag company-blog"><span class="bubble">CSDN认证企业博客</span></span>
            </div>
            <div class="profile-intro-name-boxFooter">
                <span class="personal-home-page">码龄8年</span>
            </div>
        </div>
    </div>
    <div class="data-info d-flex item-tiling">
                <dl class="text-center" title="4">
                            <dt><a href="https://blog.csdn.net/hj_xy_0705" data-report-query="t=1"><span class="count">4</span></a></dt>
                <dd><a href="https://blog.csdn.net/hj_xy_0705" data-report-query="t=1">原创</a></dd>
                    </dl>
        <dl class="text-center" id="fanBox" title="4">
            <dt><span class="count" id="fan">4</span></dt>
            <dd>粉丝</dd>
        </dl>
        <dl class="text-center" title="5">
            <dt><span class="count">5</span></dt>
            <dd>获赞</dd>
        </dl>
        <dl class="text-center" title="9">
            <dt><span class="count">9</span></dt>
            <dd>评论</dd>
        </dl>
        <dl class="text-center" style="min-width:58px" title="12064">  
            <dt><span class="count">1万+</span></dt>
            <dd>访问</dd>
        </dl>
    </div>
    <div class="item-rank"></div>
    <div class="data-info d-flex item-tiling">
        <dl class="text-center" title="171">
            <dt><span class="count">171</span></dt>
            <dd>积分</dd>
        </dl>
        <dl class="text-center" title="7">
            <dt><span class="count">7</span></dt>
            <dd>收藏</dd>
        </dl>
        <dl class="text-center" title="389386">
            <dt><span class="count">38万+</span></dt>
            <dd><a href="https://blog.csdn.net/rank/writing_rank" target="_blank">周排名</a></dd>
        </dl>
        <dl class="text-center" title="349441">
            <dt><span class="count">34万+</span></dt>
            <dd><a href="https://blog.csdn.net/rank/writing_rank_total" target="_blank">总排名</a></dd>
        </dl>
        <dl class="text-center" title="2级,点击查看等级说明">
            <dt><a href="https://blog.csdn.net/home/help.html#level"  target="_blank">
            <img class="level" src="https://csdnimg.cn/identity/blog2.png"/>            </a>
            </dt>
            <dd>等级</dd>
        </dl>
    </div>
    <div class="aside-box-footer">
                
    </div>
        <div class="profile-intro-name-boxOpration">
        <div class='opt-letter-watch-box'>
            <a class="bt-button personal-letter" href="https://me.csdn.net/hj_xy_0705" target="_blank" rel="noopener">TA的主页</a>
        </div>
        <div class='opt-letter-watch-box'>
            <a class="bt-button personal-letter" href=https://im.csdn.net/im/main.html?userName=hj_xy_0705 target="_blank" rel="noopener">私信</a>
        </div>
        <div class="opt-letter-watch-box">
                            <a class="personal-watch bt-button" id="btnAttent" data-report-click='{"mod":"popu_379","ab":"new","extend1":"个人主页未关注"}'>关注</a>
                    </div>
    </div>
    </div>
<script>
    function watchBtnChange(flag, username) {
        $('span.blog-expert-button-follow').each(function(index) {
            if (flag) {
                if ($(this).attr("data-name") == username) {
                    $(this).html('<span class="hover-hide">已关注</span><span class="hover-show">取消</span>').removeClass('btn-red-follow').addClass('btn-gray-follow attented');
                }
            } else {
                if ($(this).attr("data-name") == username) {
                    $(this).html("关注").addClass('btn-red-follow').removeClass('btn-gray-follow attented');
                }
            }
        })
        if (username == $('p.csdn-tracking-statistics').attr("username")) {
            if (flag) {
                $('#btnAttent').addClass("attented").text("已关注").removeClass('btn-red-hollow').addClass('btn-gray-hollow');
                changeFans(1)
            } else {
                $('#btnAttent').text("关注").addClass('btn-red-hollow').removeClass('btn-gray-hollow attented');
                changeFans(-1)
            }
        }

    }

    function changeFans(num) {
        if ($('#fan').text().indexOf('+') < 0) {
            $('#fan').text(parseInt($('#fan').text()) + num);
        } else {
            $('#fanBox').attr('title', parseInt($('#fanBox').attr('title')) + num);
        }
    }
    window.csdn = window.csdn ? window.csdn : {};
    window.csdn.watchBtnChange = watchBtnChange;
</script><div class="csdn-tracking-statistics mb8 box-shadow" data-pid="blog" style="height:250px;">
    <div class="aside-content text-center" id="cpro_u2734133">
        <div id="kp_box_56" data-pid="56"><script src='https://securepubads.g.doubleclick.net/tag/js/gpt.js'>
  googletag.pubads().definePassback('/162717810/CA-MarketingChoiceMedia/300x250', [300, 250]).display();
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=56&a=2230&c=0&k=&d=1&t=3&u=c18b3dbe609c41d1a358ef49bca1a55e"></div>    </div>
</div>
<div id="asideNewArticle" class="aside-box">
    <h3 class="aside-title">最新文章</h3>
    <div class="aside-content">
        <ul class="inf_list clearfix">
                        <li class="clearfix">
                <a data-report-click='{"mod":"popu_382","dest":"https://blog.csdn.net/hj_xy_0705/article/details/89114654","ab":"new"}' href="https://blog.csdn.net/hj_xy_0705/article/details/89114654" target="_blank" >
                                        爬取ZOL壁纸（低配版，后面将持续更新）                </a>
            </li>
                        <li class="clearfix">
                <a data-report-click='{"mod":"popu_382","dest":"https://blog.csdn.net/hj_xy_0705/article/details/88881943","ab":"new"}' href="https://blog.csdn.net/hj_xy_0705/article/details/88881943" target="_blank" >
                                        Ajax数据爬取之微博m站（错误：TypeError: &#039;NoneType&#039; object is not iterable）                </a>
            </li>
                        <li class="clearfix">
                <a data-report-click='{"mod":"popu_382","dest":"https://blog.csdn.net/hj_xy_0705/article/details/85110067","ab":"new"}' href="https://blog.csdn.net/hj_xy_0705/article/details/85110067" target="_blank" >
                                        爬取美女图片信息并保存(无图系列)                </a>
            </li>
                    </ul>
    </div>
</div>
    <div id="asideCategory" class="aside-box"
         style="display:block!important;">
    <h3 class="aside-title">分类专栏</h3>
    <div class="aside-content">
        <ul>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/hj_xy_0705/category_8533928.html","ab":"new"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/hj_xy_0705/category_8533928.html","ab":"new"}'
                                               href="https://blog.csdn.net/hj_xy_0705/category_8533928.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151132530.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">python爬虫</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">4篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/hj_xy_0705/category_8546567.html","ab":"new"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/hj_xy_0705/category_8546567.html","ab":"new"}'
                                               href="https://blog.csdn.net/hj_xy_0705/category_8546567.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151124774.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">爬取图片</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">2篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/hj_xy_0705/category_8806647.html","ab":"new"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/hj_xy_0705/category_8806647.html","ab":"new"}'
                                               href="https://blog.csdn.net/hj_xy_0705/category_8806647.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151053287.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">Ajax</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">1篇</span>
                                            </a>
                </li>
                    </ul>
    </div>
    </div>
<div id="asideArchive" class="aside-box">
    <h3 class="aside-title">归档</h3>
    <div class="aside-content">
        <div class="archive-box">
                        <div class="archive-title">2019</div>
            <div class="archive-content">
                                    <div class="archive-item">
                        <a href="https://blog.csdn.net/hj_xy_0705/article/month/2019/04" target="_blank" data-report-click='{"mod":"popu_538","ab":"new","dest":""}' data-report-view='{"mod":"popu_538","ab":"new","dest":""}'>
                        <span class="time">4月</span>
                        <span class="count">1篇</span>
                        </a>
                    </div>
                                    <div class="archive-item">
                        <a href="https://blog.csdn.net/hj_xy_0705/article/month/2019/03" target="_blank" data-report-click='{"mod":"popu_538","ab":"new","dest":""}' data-report-view='{"mod":"popu_538","ab":"new","dest":""}'>
                        <span class="time">3月</span>
                        <span class="count">1篇</span>
                        </a>
                    </div>
                            </div>
                        <div class="archive-title">2018</div>
            <div class="archive-content">
                                    <div class="archive-item">
                        <a href="https://blog.csdn.net/hj_xy_0705/article/month/2018/12" target="_blank" data-report-click='{"mod":"popu_538","ab":"new","dest":""}' data-report-view='{"mod":"popu_538","ab":"new","dest":""}'>
                        <span class="time">12月</span>
                        <span class="count">2篇</span>
                        </a>
                    </div>
                            </div>
                    </div>
    </div>
</div>
<div id="asideHotArticle" class="aside-box">
	<h3 class="aside-title">热门文章</h3>
	<div class="aside-content">
		<ul class="hotArticle-list">
							<li>

                    <a
                    data-report-click='{"mod":"popu_541","dest":"https://blog.csdn.net/hj_xy_0705/article/details/85011072","ab":"new"}' 
                     href="https://blog.csdn.net/hj_xy_0705/article/details/85011072" >
                                                爬虫获取网页数据，报错：UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start by                        <img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt=""><span class="read">9817</span>
                    </a>
				</li>
							<li>

                    <a
                    data-report-click='{"mod":"popu_541","dest":"https://blog.csdn.net/hj_xy_0705/article/details/85110067","ab":"new"}' 
                     href="https://blog.csdn.net/hj_xy_0705/article/details/85110067" >
                                                爬取美女图片信息并保存(无图系列)                        <img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt=""><span class="read">1778</span>
                    </a>
				</li>
							<li>

                    <a
                    data-report-click='{"mod":"popu_541","dest":"https://blog.csdn.net/hj_xy_0705/article/details/88881943","ab":"new"}' 
                     href="https://blog.csdn.net/hj_xy_0705/article/details/88881943" >
                                                Ajax数据爬取之微博m站（错误：TypeError: &#039;NoneType&#039; object is not iterable）                        <img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt=""><span class="read">362</span>
                    </a>
				</li>
							<li>

                    <a
                    data-report-click='{"mod":"popu_541","dest":"https://blog.csdn.net/hj_xy_0705/article/details/89114654","ab":"new"}' 
                     href="https://blog.csdn.net/hj_xy_0705/article/details/89114654" >
                                                爬取ZOL壁纸（低配版，后面将持续更新）                        <img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt=""><span class="read">49</span>
                    </a>
				</li>
					</ul>
	</div>
</div>
<div id="asideNewComments" class="aside-box">
    <h3 class="aside-title">最新评论</h3>
    <div class="aside-content">
        <ul class="newcomment-list">
                        <li>
                <a class="title text-truncate" data-report-click='{"mod":"popu_542","dest":"https://blog.csdn.net/hj_xy_0705/article/details/85011072#comments","ab":"new"}'  target="_blank" href="https://blog.csdn.net/hj_xy_0705/article/details/85011072#comments">爬虫获取网页数据，报错：Unico...</a>
                <p class="comment ellipsis">
                    <a href="https://my.csdn.net/weixin_37578866" class="user-name" target="_blank">weixin_37578866：</a>百度现在也这样了，你的方法很有用                </p>
            </li>
                        <li>
                <a class="title text-truncate" data-report-click='{"mod":"popu_542","dest":"https://blog.csdn.net/hj_xy_0705/article/details/85011072#comments","ab":"new"}'  target="_blank" href="https://blog.csdn.net/hj_xy_0705/article/details/85011072#comments">爬虫获取网页数据，报错：Unico...</a>
                <p class="comment ellipsis">
                    <a href="https://my.csdn.net/qq_44739706" class="user-name" target="_blank">qq_44739706：</a>你的博客给了我灵感，谢谢！                </p>
            </li>
                        <li>
                <a class="title text-truncate" data-report-click='{"mod":"popu_542","dest":"https://blog.csdn.net/hj_xy_0705/article/details/85011072#comments","ab":"new"}'  target="_blank" href="https://blog.csdn.net/hj_xy_0705/article/details/85011072#comments">爬虫获取网页数据，报错：Unico...</a>
                <p class="comment ellipsis">
                    <a href="https://my.csdn.net/qq_45757503" class="user-name" target="_blank">qq_45757503：</a>请问你说的那个在哪里，很急                </p>
            </li>
                        <li>
                <a class="title text-truncate" data-report-click='{"mod":"popu_542","dest":"https://blog.csdn.net/hj_xy_0705/article/details/85011072#comments","ab":"new"}'  target="_blank" href="https://blog.csdn.net/hj_xy_0705/article/details/85011072#comments">爬虫获取网页数据，报错：Unico...</a>
                <p class="comment ellipsis">
                    <a href="https://my.csdn.net/saishy" class="user-name" target="_blank">saishy：</a>[reply]weixin_40304027[/reply]
只需要删掉gzip就可以了                </p>
            </li>
                        <li>
                <a class="title text-truncate" data-report-click='{"mod":"popu_542","dest":"https://blog.csdn.net/hj_xy_0705/article/details/85011072#comments","ab":"new"}'  target="_blank" href="https://blog.csdn.net/hj_xy_0705/article/details/85011072#comments">爬虫获取网页数据，报错：Unico...</a>
                <p class="comment ellipsis">
                    <a href="https://my.csdn.net/qq330214001" class="user-name" target="_blank">qq330214001：</a>[reply]weixin_40304027[/reply]
谢谢老哥，完美解决                </p>
            </li>
                    </ul>
    </div>
</div>
            <div id="footerRightAds">
        <div class="aside-box">
            <div id="kp_box_57" data-pid="57"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 博客内页左下视窗-20181130 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:300px;height:250px"
     data-ad-client="ca-pub-1076724771190722"
     data-ad-slot="1894159733"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=57&a=707&c=0&k=&d=1&t=3&u=a584832643154f0683f712c56fe770b5"></div>        </div>
        </div>
        <!-- 详情页显示目录 -->
        <!--文章目录-->
<div id="asidedirectory" class="aside-box">
    <div class='groupfile' id="directory">
        <h3 class="aside-title">目录</h3>
        <div class="align-items-stretch group_item">
            <div class="pos-box">
            <div class="scroll-box">
                <div class="toc-box"></div>
            </div>
            </div>
        </div>
    </div>
</div>
    	<div id="asideFooter">
		<div class="aside-box">
			<div class="persion_article">
			</div>
		</div>
	</div>
</aside>
<script src="https://csdnimg.cn/pubfooter/js/publib_footer-1.0.3.js" data-isfootertrack="false" type="text/javascript"></script>
<script>
	$("a.flexible-btn").click(function(){
		$(this).parents('div.aside-box').removeClass('flexible-box');
		$(this).parents("p.text-center").remove();
	})
</script>
<script type="text/javascript"  src="https://g.csdnimg.cn/user-tooltip/2.1/user-tooltip.js"></script>
        <main>
            
<div class="blog-content-box">
    <div class="article-header-box">
        <div class="article-header">
            <div class="article-title-box">
                <h1 class="title-article">爬虫获取网页数据，报错：UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start by</h1>
            </div>
            <div class="article-info-box">
                <div class="article-bar-top">
                    <!--文章类型-->
                                        <!--原创-->
                                        <img class="article-type-img" src="https://csdnimg.cn/release/phoenix/template/new_img/original.png" alt="">
                                        <!--翻译-->
                                        <!--转载-->
                                        <div class="bar-content">
                                                                                                                                            <a class="follow-nickName" href="https://me.csdn.net/hj_xy_0705" target="_blank" rel="noopener">浪迹红尘只为伊人</a>
                    <span class="time">2018-12-15 00:36:02</span>
                    <img class="article-read-img article-heard-img" src="https://csdnimg.cn/release/phoenix/template/new_img/articleRead.png" alt="">
                    <span class="read-count">9824</span>
                    <a id='blog_detail_zk_collection' class="un-collection" data-report-click='{"mod":"popu_823","ab":"new"}'>
                        <img class="article-collect-img article-heard-img un-collect-status" style="display:black" src="https://csdnimg.cn/release/phoenix/template/new_img/collect.png" alt="">
                        <img class="article-collect-img article-heard-img collect-status" style="display:none" src="https://csdnimg.cn/release/phoenix/template/new_img/tobarCollectionActive.png" alt="">
                        <span class="name">收藏</span>
                        <span class="get-collection">
                                                7                                                </span>
                    </a>
                                        </div>
                </div>
                                <div class="up-time"><span>最后发布:2018-12-15 00:36:02</span><span>首发:2018-12-15 00:36:02</span></div>
                <div class="slide-content-box">
                <div class="all-tags-box">
                                                        <div class="tags-box artic-tag-box">
                           <span class="label">分类专栏：</span>
                                                                                             <a class="tag-link" target="_blank" rel="noopener"
                                      href="https://blog.csdn.net/hj_xy_0705/category_8533928.html">
                                       python爬虫                                   </a>
                                                                                  </div>
                                                           </div>
                                                                    <div class="article-copyright">
                            <div class="creativecommons">
                                <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"></a>
                            </div>
                            <div class="creativecommons">
                                版权声明：本文为博主原创文章，遵循<a href="http://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="noopener"> CC 4.0 BY-SA </a>版权协议，转载请附上原文出处链接和本声明。                            </div>
                            <div class="article-source-link">
                                本文链接：<a href="https://blog.csdn.net/hj_xy_0705/article/details/85011072">https://blog.csdn.net/hj_xy_0705/article/details/85011072</a>
                            </div> 
                        </div>
                                                                                </div>
                <div class="operating">
                                                                <a class="href-article-edit slide-toggle">展开</a>
                                    </div>
            </div>
        </div>
    </div>
    <!--python安装手册结束-->
                    <article class="baidu_pl">
                 <div id="article_content" class="article_content clearfix">
            <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/ck_htmledit_views-211130ba7a.css" />
                            <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/ck_htmledit_views-211130ba7a.css" />
                <div class="htmledit_views" id="content_views">
                                            <p>源码：</p>

<p>import urllib.request</p>

<p>url = 'https://www.mzitu.com/'</p>

<p>#设置headers,网站判断浏览器以及操作系统</p>

<p>header = {</p>

<p>'User-Agent', 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36'</p>

<p>}</p>

<p>req = urllib.request.Request(url)</p>

<p>response = urllib.request.urlopen(req)</p>

<p>html = response.read().decode('utf-8')</p>

<p>print(html)</p>

<p> </p>

<p>错误：</p>

<p>Traceback (most recent call last):</p>

<p>File "D:/Python Practice/爬取妹子图.py", line 12, in &lt;module&gt;</p>

<p>html = response.read().decode('utf-8')</p>

<p>UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte</p>

<p> </p>

<p>原因分析：UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte这句话指的是编码问题，utf-8编解码器无法解码改数据，因为起始字节无效。查了很久，终于找到问题所在。</p>

<p>将“html = response.read().decode('utf-8')”拆分为</p>

<p>html = response.read()</p>

<p>print(html)</p>

<p>html = html.decode('utf-8')</p>

<p>这样就可以看到获取到的网页数据是什么了，获取的网页数据为：</p>

<p>b'\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\xbd\\\xebO\x1bI\xb6\xff&lt;\xf9+\xfa\xfa\xc3\x90H\x18w\xb7\xdf\xc3c53;\xba\xba\xd2df\xb4;\xba\xd2\xd5j\x85\xdav\x83;c\xbb=v;\x84\xd9]\x89\x97\x01\xf32$L\x02\xc1\x84!`\xde\xefW\x8c1\xf8\x8f\x19Ww\xfbS\xfe\x85{\xaa\xbb1\ri\x13c[\x96\x9c\xe0G\xd5\xa9sN\xfd\xea\xbc\xba\xaa\xda\xfe\xeb\xaf?~\xfb\xf3\xff\xfd\xf4\x1d\xe1\x17\x82\x81\x8eGm\xd7\x7fX\xc6\x07\x7f\x82\xac\xc0\xc0/B\xd8\xcc\xfe\x1a\xe3\x9e\xb7\x9b\xbe\xe5C\x02\x1b\x12\xcc?\xf7\x86Y\x13\xe1U?\xb5\x9b\x04\xf6\x85`\xc1][\t\xaf\x9f\x89DY\xa1=&amp;t\x99]&amp;\xc2\x02T\x04N\x08\xb0\x1dh\xed\x1c\xedN\xa3\x85+\xc2L\x88}\xeb\xe2\xd0\x92t5\x85\xd2\xc7\xf0\x8d\x94\x18\x11\xf7\x93\xe2\x9b\xb4\xb8p"\xbe&gt;h\xb3\xa8=\xb4\xf1CL\x90m7\xfd\xc2\xf6\xf6\xf0\x11_T7j\x89b\xb3\xfa\xaeYO\xb0Y?\xc6\xf5/\xc3\xf3RjIeJG\xda\xc7F\xbd\x11.,p|\xc8\x88:\xda\x9b\x93.g\x1e\xf7\xf4\xf4\xb4\x04\x7f\xe3\x84X\x8b\x97\x0f&gt;Q\xf9E\xa3\xc3\x85\xec\xb6\x98\xea\x03\xae\xe1\x7f\x14\xdf\x90\xde\x0e\x95:\x02\x17\xe8\xe5Dq{N\xcc\xc4?\x95\xb8\x19M\xc4\xc5\xf1\x1d\xf5\x07M\x00\xac\x82\xd4\x8e\xf6\x01%\x0f\xc4\xf3\xab\xeb_2q)\xbb\xaf~(\\\xa4QrL}/\x8fl\x89\xe3\x93*\x1f\x7f\xf6\r|"[\x90\xf7p\x01\xd6\xcct\x83L:\xe1\xba\xf8H\x90\x11\xda\xf1\x94\xd9[c\x91@;\x9e\xe4\xe8W\x16K\xf0FF\x8bJ,\xc0\x85~!"l\xa0\xdd\xc4\x04\x046\x12b\x04\x98\xf9 \xeb\xe3\x98v\x13\x1f\n\xf4\x12\xa0&lt;\x96\r\x11L\xc8\xf78\xc8\xbc0\xf7p&gt;\xc1\xff\x15\xe1\xb0\x91\xe1\x17OL\x84?\xc2v\xb5\x9b\x8c\xc9\xdff\x95\t\x87\x03\x9c\x97\xf1\x00\xbb&gt;\xf69\xe7\xd5\x03,\xec5\x19\xc2\x91\xf1\xfaY3\x06e\x84\x0f\xe8\x9a\x87x\xb3\x10aBQ,\xa6N%\x15v\x8dr\x02\x0b\xcc|\xa2\xcb\x08\x1b\xf2\xb1\x116\xa2k\xdd\xc3z~\xe1\x04\xd3\xedv\x7fc\xbb\xd8\xc8\xedv\xb1P\x94\xe9b\xcd\xa0i\x9dRo\xab\x86k\t\xb2\x9c\xa2\x9c\x10+X\xc2]0mQ\x8b\xa6\xad(\xc0^\x99\x82\xa8\xd0\x0b_\xfbY\x16&amp;S\x805\xa8-=\xa5\xc1\xed\xc9\x8a\xfa\xf9\x88\xe0\x8d\t\x04\xe7\xc5\xb0\xae`,.\xd8m\xe9b\x9e\xe3\xf6-\xf0\xdf\xf5\x00\\\x10\xc0cyaV\xe8\xdc\x01\x04\xcc\x18k\x16\xf8\x98\xd7\xaf\xfcl\x0eGX\x98\xd90\x1fe}\x15\x0f\xa9\xeb\xce\x85\x19\x9f\x99\xb2\xd9Z\xc2\xa1n\xacSuY\x12\xd1\x88\xb</p>

<p>乱七八糟的一堆数据完全看不懂，然后继续查资料，后来查到以“b'\x1f\x8b\x08”开头的数据是经过gzip压缩过的数据，这里当然需要进行解压了。解决方法如下：</p>

<p>import urllib.request</p>

<p>from io import BytesIO</p>

<p>import gzip</p>

<p>url = 'http://www.mzitu.com'</p>

<p>response = urllib.request.urlopen(url)</p>

<p>html = response.read()</p>

<p>print(html)</p>

<p>buff = BytesIO(html)</p>

<p>f = gzip.GzipFile(fileobj=buff)</p>

<p>res = f.read().decode('utf-8')</p>

<p>print(res)</p>

<p>然而这个问题还有一种解决方法，就是引入requests库。</p>

<p>import requests</p>

<p>url = 'http://www.mzitu.com'</p>

<p>r = requests.get(url)</p>

<p>print(r.text)</p>

<p> </p>

<p>最后，还有个疑惑未解决，就是www.baidu.com网页的数据中也提到了gzip，但是使用urllib.request的时候，就不会报错正常运行，不需要做gzip的解压，有知道的朋友可以说一说，我如果了解具体原因后，会更新帖子。谢谢~~~</p>

<p></p>

<p></p>

<p></p>

<p></p>                                    </div>
                                    <div data-report-view='{"mod":"popu_387","dest":"https://blog.csdn.net/hj_xy_0705/article/details/85011072","extend1":"pc","ab":"new"}'></div>
                        
            <div class="person-messagebox">
                <div class="left-message"><a href="https://blog.csdn.net/hj_xy_0705">
                    <img src="https://profile.csdnimg.cn/A/C/8/3_hj_xy_0705" class="avatar_pic" username='hj_xy_0705'>
                </a></div>
                <div class="middle-message">
                                        <div class="title"><span class="tit "><a href="https://blog.csdn.net/hj_xy_0705" data-report-click='{"mod":"popu_379","ab":"new"}' target="_blank">浪迹红尘只为伊人</a></span>
                        <!-- 等级，level -->
                                                <img class="identity-icon" src="https://csdnimg.cn/identity/blog2.png"/>                                            </div>
                    <div class="text"><span>原创文章 4</span><span>获赞 5</span><span>访问量 1万+</span></div>
                </div>
                                <div class="right-message">
                                            <a class="btn btn-sm  bt-button personal-watch" data-report-click='{"mod":"popu_379","ab":"new","extend1":"个人信息未关注"}'>关注</a>
                                                                <a href=https://im.csdn.net/im/main.html?userName=hj_xy_0705 target="_blank" 
                            class="btn btn-sm bt-button personal-letter">私信
                        </a>
                                    </div>
                            </div>
                        
        </div>
    </article>

</div>

            <div class="hide-article-box hide-article-pos text-center">
            <a class="btn-readmore" id="btn-readmore-zk" data-report-view='{"mod":"popu_376","dest":"https://blog.csdn.net/hj_xy_0705/java/article/details/85011072","strategy":"readmore","ab":"new"}' data-report-click='{"mod":"popu_376","dest":"https://blog.csdn.net/hj_xy_0705/java/article/details/85011072","strategy":"readmore","ab":"new"}'>
                展开阅读全文
                <svg class="icon chevrondown" aria-hidden="true">
                    <use xlink:href="#csdnc-chevrondown"></use>
                </svg>
            </a>
        </div>   
    
<script>
    $.get("https://blog.csdn.net/hj_xy_0705/article/uvc/85011072");
</script>

<div class="more-toolbox" id="toolBarBox">
    <span id="fixedBar"></span>
    <div class="left-toolbox">
        <ul class="toolbox-list">
            <li class="tool-item tool-active is-like" id="is-like"><a>
            <img style="display:none;" id="is-like-imgactive" src="https://csdnimg.cn/release/phoenix/template/new_img/tobarThumbUpactive.png" alt="">
            <img style="display:block;" id="is-like-img" src="https://csdnimg.cn/release/phoenix/template/new_img/thumbUpWhite.png" alt="">   
            <span class="name" id="is-like-span">点赞</span>
            <span id="spanCount" class="count">5</span>
            </a></li>
            <li class="tool-item tool-active tool-item-comment">
                                <a href="#commentBox">
                    <img src="https://csdnimg.cn/release/phoenix/template/new_img/commentWhite.png" alt="">
                    <span class="name">评论</span>
                    <span class="count">9</span>
                </a>
            </li>
            <li class="tool-item tool-active tool-QRcode" id="tool-share">
                <a href="javascript:;" data-report-click='{"mod":"1582594662_002","ab":"new"}'>
                    <img src="https://csdnimg.cn/release/phoenix/template/new_img/shareWhite.png" alt="">
                    <span class="name">分享</span>
                </a>
                <div class="QRcode" id="tool-QRcode" style="left:-92%;">
                    <span id="QRcode-close">x</span>
                    <p class="title">
                    海报分享
                    </p>
                    <div id='shareCode'></div>
                    <p>
                    扫一扫，分享海报
                    </p>
                </div>
            </li>
            <li class="tool-item tool-active is-collection ">
                <a href="javascript:;" data-report-click='{"mod":"popu_824","ab":"new"}'>
                    <img id="is-collection-img" style="display:block;" src="https://csdnimg.cn/release/phoenix/template/new_img/collectWhite.png" alt="">
                    <img id="is-collection-imgactive" style="display:none;" src="https://csdnimg.cn/release/phoenix/template/new_img/tobarCollectionActive.png" alt="">
                    <span class="name" id="is-collection">收藏</span>
                    <span class="count get-collection">                    7                    </span>
                </a>
            </li>
            <li class="tool-item tool-active tool-phong" id="tool-phong">
                <a href="javascript:;" data-report-click='{"mod":"popu_831","dest":"","ab":"new"}'>
                    <img src="https://csdnimg.cn/release/phoenix/template/new_img/mobileWhite.png" alt="">
                    <span class="name">
                        手机看
                    </span>
                </a>
                <div class="QRcode" id="tool-QRcode-phong" style="left:-78%;">
                    <p class="title">
                    分享到微信朋友圈
                    </p>
                    <span id="QRcode-phong-close">x</span>
                    <div id='shareQrCode'></div>
                    <p>
                    扫一扫，手机阅读 
                    </p>
                </div>
            </li>
            <!--打赏开始-->
                        <li class="tool-item tool-active tool-reward" id="toolreward">
                
                                    <a  data-report-click='{"mod":"popu_830" "dest":"","ab":"new"}'><img src="https://csdnimg.cn/release/phoenix/template/new_img/rewardWhite.png" alt=""><span class="name">打赏</span></a>
                    
                
                <div id="reward" class="reward-box">
	<p class="rewad-title">打赏<span class="reward-close"><svg t="1567152543821" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10924" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12"><defs><style type="text/css"></style></defs><path d="M512 438.378667L806.506667 143.893333a52.032 52.032 0 1 1 73.6 73.621334L585.621333 512l294.485334 294.485333a52.074667 52.074667 0 0 1-73.6 73.642667L512 585.621333 217.514667 880.128a52.053333 52.053333 0 1 1-73.621334-73.642667L438.378667 512 143.893333 217.514667a52.053333 52.053333 0 1 1 73.621334-73.621334L512 438.378667z" fill="" p-id="10925"></path></svg></span></p>
	<dl>
		<dd><a href="javascript:;"><img src="https://profile.csdnimg.cn/A/C/8/3_hj_xy_0705" alt=""></a></dd>
		<dt>
			<p class="blog-name">浪迹红尘只为伊人</p>
			<p class="blog-discript">“你的鼓励将是我创作的最大动力”</p>
		</dt>
	</dl>
	<div class="money-box">
        			            	<span class="choosed choose_money" data-id="5">5C币</span>
			        							<span class="choose_money" data-id="10">10C币</span>
			        							<span class="choose_money" data-id="20">20C币</span>
			        							<span class="choose_money" data-id="50">50C币</span>
			        							<span class="choose_money" data-id="100">100C币</span>
			        							<span class="choose_money" data-id="200">200C币</span>
			        	</div>
	<div class="sure-box">
		<p class="is-have-money"><a class="reward-sure">确定</a></p>
	</div>
</div>

            </li>
                        <!--打赏结束-->
            <li class="tool-item tool-active tool-more">
                <!-- <a>
                <img src="https://csdnimg.cn/release/phoenix/template/new_img/lookMore.png" alt="">
                </a>
                <ul class="more-box">
                    <li class="item"><a class="article-report">文章举报</a></li>
                </ul> -->
                <a class="article-report">文章举报</a>
            </li>
        </ul>
        <div style="display:flex">
                        <a class="tool-mover-open" id="btn-readmore" style="display: none;"  data-type="0" data-report-view='{"mod":"popu_376","dest":"https://blog.csdn.net/hj_xy_0705/java/article/details/85011072","strategy":"packupbar","ab":"new"}' data-report-click='{"mod":"popu_376","dest":"https://blog.csdn.net/hj_xy_0705/java/article/details/85011072","strategy":"packupbar","ab":"new"}'>
                <span>收起全文</span>
                <img id="btn-close-img" style="display: block;" src="https://csdnimg.cn/release/phoenix/template/new_img/CommentArrow.png" alt="">
            </a>
         </div>
    </div>  
</div>
<script type=text/javascript crossorigin src="https://csdnimg.cn/release/phoenix/production/qrcode-7c90a92189.min.js"></script>
<script src="//g.csdnimg.cn/??sharewx/1.2.1/sharewx.js" type="text/javascript"></script>
<script type="text/javascript" crossorigin src="https://g.csdnimg.cn/collection-box/1.1.9/collection-box.js"></script>
            <div id="dmp_ad_58" style="width:100%;overflow-x:hidden"><div id="kp_box_58" data-pid="58"><script type="text/javascript">
        (function() {
            var s = "_" + Math.random().toString(36).slice(2);
            document.write('<div style="" id="' + s + '"></div>');
            (window.slotbydup = window.slotbydup || []).push({
                id: "u3501897",
                container: s
            });
        })();
</script>
<!-- 多条广告如下脚本只需引入一次 -->
<script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/c.js" async="async" defer="defer" >
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=58&a=386&c=0&k=&d=1&t=3&u=d38817c3817043a695fcf6bb5b801fe1"></div></div>            
            <a id="commentBox" name="commentBox"></a>
<div class="comment-box">
	<div class="comment-edit-box d-flex">
		<a id="commentsedit"></a>
		<div class="user-img">
			<a href="javascript:void(0);"  rel="noopener">
				<img class="show_loginbox" src="//g.csdnimg.cn/static/user-img/anonymous-User-img.png">
			</a>
		</div>
		<form id="commentform">
			<img class="comment-sofa-flag" src="https://csdnimg.cn/release/phoenix/template/new_img/commentFlag@2x.png">
			<textarea class="comment-content" name="comment_content" id="comment_content" placeholder="" maxlength="1000"></textarea>
			<div class="opt-box"> <!-- d-flex -->
				<div id="ubbtools" class="add_code">
					<a href="#insertcode" code="code" target="_self"><i class="icon iconfont icon-daima"></i></a>
				</div>
				<input type="hidden" id="comment_replyId" name="comment_replyId">
				<input type="hidden" id="article_id" name="article_id" value="85011072">
				<input type="hidden" id="comment_userId" name="comment_userId" value="">
				<input type="hidden" id="commentId" name="commentId" value="">
				<div class="dropdown" id="myDrap">
					<a class="dropdown-face d-flex align-items-center" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
					<div class="txt-selected text-truncate">添加代码片</div>
					<svg class="icon d-block" aria-hidden="true">
						<use xlink:href="#csdnc-triangledown"></use>
					</svg>
					</a>
					<ul class="dropdown-menu" id="commentCode" aria-labelledby="drop4">
						<li><a data-code="html">HTML/XML</a></li>
						<li><a data-code="objc">objective-c</a></li>
						<li><a data-code="ruby">Ruby</a></li>
						<li><a data-code="php">PHP</a></li>
						<li><a data-code="csharp">C</a></li>
						<li><a data-code="cpp">C++</a></li>
						<li><a data-code="javascript">JavaScript</a></li>
						<li><a data-code="python">Python</a></li>
						<li><a data-code="java">Java</a></li>
						<li><a data-code="css">CSS</a></li>
						<li><a data-code="sql">SQL</a></li>
						<li><a data-code="plain">其它</a></li>
					</ul>
				</div>  
				<div class="right-box">
                                        <span id="tip_comment" class="tip">还能输入<em>1000</em>个字符</span>
					<input type="button" class="btn btn-sm btn-cancel d-none" value="取消回复">
					<a data-report-click='{"mod":"1582594662_003","ab":"new"}'><input type="submit" class="btn btn-sm btn-comment" value="发表评论"></a>
				</div>
			</div>
		</form>
		<input type="button" class="bt-comment-show" value="评论">
	</div>

	<div class="comment-list-container">
		<a id="comments"></a>
		<div class="comment-list-box">
		</div>
		<div id="commentPage" class="pagination-box d-none"></div>
		<div class="opt-box text-center">
			<div class="btn btn-sm btn-link-blue" id="btnMoreComment"></div>
		</div>
	</div>
</div>
            <div class="recommend-box">
                                    <div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_18888869">	
					<span class="blog_title"> Rookiekk</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">09-11</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				6万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/qq_18888869/article/details/82625343" target="_blank"  rel="noopener" title="python 读取数据出现UnicodeDecodeError：: &#039;utf-8&#039; codec can&#039;t decode byte 0xc8 in position 0: invalid contin"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase\"}","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_18888869\/article\/details\/82625343","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase\"}","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_18888869\/article\/details\/82625343","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python 读取<em>数据</em>出现<em>UnicodeDecodeError</em>：: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em>c<em>8</em> in <em>position</em> <em>0</em>: <em>invalid</em> contin			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/qq_18888869/article/details/82625343" target="_blank"  rel="noopener" title="python 读取数据出现UnicodeDecodeError：: &#039;utf-8&#039; codec can&#039;t decode byte 0xc8 in position 0: invalid contin"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase\"}","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_18888869\/article\/details\/82625343","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase' 			>
				之前写程序时也出现过类似错误，每次解决了到第二次遇见又忘了具体方法，这次记录一下。一、字符编码问题先介绍一下字符编码问题1.ASCLL与GB2312由于计算机是美国人发明的，因此，最早只有127个字符...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/IT13057525818">	
					<span class="blog_title"> IT13057525818的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">11-11</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1452</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/IT13057525818/article/details/83962506" target="_blank"  rel="noopener" title="关于Python 3.x爬虫爬取某些网站资源时，碰到UnicodeDecodeError: &#039;utf-8&#039; codec can‘t......的解决办法"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase\"}","index":"2","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/IT13057525818\/article\/details\/83962506","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase\"}","index":"2","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/IT13057525818\/article\/details\/83962506","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				关于Python 3.<em>x</em><em>爬虫</em>爬取某些网站资源时，碰到<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can‘t......的解决办法			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/IT13057525818/article/details/83962506" target="_blank"  rel="noopener" title="关于Python 3.x爬虫爬取某些网站资源时，碰到UnicodeDecodeError: &#039;utf-8&#039; codec can‘t......的解决办法"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase\"}","index":"2","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/IT13057525818\/article\/details\/83962506","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase' 			>
				关于Python 3.x爬虫爬取某些网站资源时，碰到UnicodeDecodeError: &#039;utf-8&#039; codec can‘t......的解决办法本文简要概述：爬虫小程序本身很简单，就是爬取一个...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/zhang_cl_cn">	
					<span class="blog_title"> zhang_cl_cn的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">07-03</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				6846</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/zhang_cl_cn/article/details/94575568" target="_blank"  rel="noopener" title="UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.nonecase\"}","index":"3","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/zhang_cl_cn\/article\/details\/94575568","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.nonecase\"}","index":"3","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/zhang_cl_cn\/article\/details\/94575568","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/zhang_cl_cn/article/details/94575568" target="_blank"  rel="noopener" title="UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.nonecase\"}","index":"3","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/zhang_cl_cn\/article\/details\/94575568","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.nonecase' 			>
				**由于标题有字符限制没有办法将主题说的更明白，就将错误信息贴了上去，望谅解**场景：使用Python进行斗鱼直播页面的爬取，爬取的url：https://www.douyu.com/当使用str(爬...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/zhanghaipeng1989">	
					<span class="blog_title"> 成大事不在于力量多少，而在能坚持多久。</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">11-14</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				3万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/zhanghaipeng1989/article/details/41117887" target="_blank"  rel="noopener" title="解决 &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.nonecase\"}","index":"4","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/zhanghaipeng1989\/article\/details\/41117887","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.nonecase\"}","index":"4","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/zhanghaipeng1989\/article\/details\/41117887","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				解决 &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/zhanghaipeng1989/article/details/41117887" target="_blank"  rel="noopener" title="解决 &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.nonecase\"}","index":"4","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/zhanghaipeng1989\/article\/details\/41117887","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.nonecase' 			>
				如果自己的脚本里编码没有问题的话，要看一下设置的header			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_59" data-pid="59"><script src='https://securepubads.g.doubleclick.net/tag/js/gpt.js'>
  googletag.pubads().definePassback('/162717810/CN-csdn.net/multiplex', ['fluid']).display();
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=59&a=2235&c=0&k=&d=1&t=3&u=9ea4185f8517446d89ef0d80014785ab"></div></div><div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/shulixu">	
					<span class="blog_title"> shulixu的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">09-25</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/shulixu/article/details/52662790" target="_blank"  rel="noopener" title="python爬虫解析json数据报错(unicode error) &#039;utf-8&#039; codec can&#039;t decode byte 0xbb in position 0"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.nonecase\"}","index":"5","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/shulixu\/article\/details\/52662790","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.nonecase\"}","index":"5","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/shulixu\/article\/details\/52662790","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python<em>爬虫</em>解析json<em>数据</em><em>报错</em>(unicode error) &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em><em>b</em> in <em>position</em> <em>0</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/shulixu/article/details/52662790" target="_blank"  rel="noopener" title="python爬虫解析json数据报错(unicode error) &#039;utf-8&#039; codec can&#039;t decode byte 0xbb in position 0"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.nonecase\"}","index":"5","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/shulixu\/article\/details\/52662790","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.nonecase' 			>
				先解释一些概念序列化（Serialization）：将对象的状态信息转换为可以存储或可以通过网络传输的过程，传输的格式可以是JSON、XML等。反序列化就是从存储区域（JSON，XML）读取反序列化对...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box recommend-box-ident recommend-other-item-box">
	<a href="https://bbs.csdn.net/topics/392493830" target="_blank" rel="noopener" data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-6.nonecase\"}","index":"6","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/392493830","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-6.nonecase\"}","index":"6","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/392493830","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-6.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-6.nonecase' >
		<h4 class="text-truncate oneline">
					<!-- <span class="recommend-article-type">论坛</span> -->
			<em>爬虫</em>初学<em>报错</em>：<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: i				</h4>
		<div class="info-box d-flex align-content-center">
				<span class="date">12-14</span>
		</div>
	</a>

</div>

<div class="recommend-item-box recommend-box-ident recommend-other-item-box">
	<a href="http://ask.csdn.net/questions/874405" target="_blank" rel="noopener" data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-7.nonecase\"}","index":"7","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/874405","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-7.nonecase\"}","index":"7","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/874405","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-7.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-7.nonecase' >
		<h4 class="text-truncate oneline">
					<!-- <span class="recommend-article-type">问答</span> -->
			socket<em>获取</em>百度报文出现编码错误：<em>UnicodeDecodeError</em>：‘utf-<em>8</em>’<em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> 3<em>1</em><em>1</em>：<em>invalid</em> <em>start</em> <em>byte</em>				</h4>
		<div class="info-box d-flex align-content-center">
				<span class="date">10-17</span>
		</div>
	</a>

</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/DylanYuan">	
					<span class="blog_title"> Levy的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">08-09</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/DylanYuan/article/details/81533105" target="_blank"  rel="noopener" title="Python乱码 b&#039;\x1f\x8b\x08\x00\x00\x00\x00\x00\...&#039;"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-8.nonecase\"}","index":"8","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/DylanYuan\/article\/details\/81533105","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-8.nonecase\"}","index":"8","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/DylanYuan\/article\/details\/81533105","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-8.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-8.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				Python乱码 <em>b</em>&#<em>0</em>39;\<em>x</em><em>1</em>f\<em>x</em><em>8</em><em>b</em>\<em>x</em><em>0</em><em>8</em>\<em>x</em><em>0</em><em>0</em>\<em>x</em><em>0</em><em>0</em>\<em>x</em><em>0</em><em>0</em>\<em>x</em><em>0</em><em>0</em>\<em>x</em><em>0</em><em>0</em>\...&#<em>0</em>39;			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/DylanYuan/article/details/81533105" target="_blank"  rel="noopener" title="Python乱码 b&#039;\x1f\x8b\x08\x00\x00\x00\x00\x00\...&#039;"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-8.nonecase\"}","index":"8","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/DylanYuan\/article\/details\/81533105","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-8.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-8.nonecase' 			>
				Python里面的编码问题真的让人快疯了..比如res打印出来是这个b’\x1f\x8b\x08\x00\x00\x00\x00\x00…’importgzipret=gzip.decompress(...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/aidanmo">	
					<span class="blog_title"> aidanmo的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">01-16</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				9821</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/aidanmo/article/details/86513977" target="_blank"  rel="noopener" title="python3 中怎么把类似这样的&#039;\xe5\xae\x9d\xe9\xb8\xa1\xe5\xb8\x82&#039;转换成汉字输出"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-9.nonecase\"}","index":"9","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/aidanmo\/article\/details\/86513977","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-9.nonecase\"}","index":"9","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/aidanmo\/article\/details\/86513977","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-9.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-9.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python3 中怎么把类似这样的&#<em>0</em>39;\<em>x</em>e5\<em>x</em>ae\<em>x</em>9d\<em>x</em>e9\<em>x</em><em>b</em><em>8</em>\<em>x</em>a<em>1</em>\<em>x</em>e5\<em>x</em><em>b</em><em>8</em>\<em>x</em><em>8</em>2&#<em>0</em>39;转换成汉字输出			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/aidanmo/article/details/86513977" target="_blank"  rel="noopener" title="python3 中怎么把类似这样的&#039;\xe5\xae\x9d\xe9\xb8\xa1\xe5\xb8\x82&#039;转换成汉字输出"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-9.nonecase\"}","index":"9","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/aidanmo\/article\/details\/86513977","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-9.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-9.nonecase' 			>
				在python3中可以使用str(s, &#039;utf8&#039;)的形式输出汉字，亲测有效。			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_60" data-pid="60"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-format="fluid"
     data-ad-layout-key="-hd-1q+4c-25+a"
     data-ad-client="ca-pub-1076724771190722"
     data-ad-slot="5760803113"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=60&a=731&c=0&k=&d=1&t=3&u=615d7ee53d74408aae53d998a9b92cad"></div></div><div class="recommend-item-box recommend-box-ident recommend-other-item-box">
	<a href="https://bbs.csdn.net/topics/390386043" target="_blank" rel="noopener" data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-10.nonecase\"}","index":"10","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/390386043","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-10.nonecase\"}","index":"10","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/390386043","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-10.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-10.nonecase' >
		<h4 class="text-truncate oneline">
					<!-- <span class="recommend-article-type">论坛</span> -->
			python如何将(u&#<em>0</em>39;\<em>x</em><em>b</em>3\<em>x</em>c2\<em>x</em><em>b</em>d\<em>x</em>a<em>8</em>\<em>x</em>c3\<em>x</em>f4&#<em>0</em>39;,) 转为字符串。				</h4>
		<div class="info-box d-flex align-content-center">
				<span class="date">03-08</span>
		</div>
	</a>

</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/LaoYuanPython">	
					<span class="blog_title"> 老猿Python</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">09-09</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1803</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/LaoYuanPython/article/details/100672118" target="_blank"  rel="noopener" title="urllib.request.urlopen(req).read().decode解析http报文报“&#039;utf-8&#039; codec can&#039;t decode”错处理"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-11.nonecase\"}","index":"11","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/LaoYuanPython\/article\/details\/100672118","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-11.nonecase\"}","index":"11","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/LaoYuanPython\/article\/details\/100672118","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-11.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-11.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				urlli<em>b</em>.request.urlopen(req).read().<em>decode</em>解析http报文报“&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em>”错处理			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/LaoYuanPython/article/details/100672118" target="_blank"  rel="noopener" title="urllib.request.urlopen(req).read().decode解析http报文报“&#039;utf-8&#039; codec can&#039;t decode”错处理"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-11.nonecase\"}","index":"11","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/LaoYuanPython\/article\/details\/100672118","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-11.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-11.nonecase' 			>
				老猿前期执行如下代码时报“‘utf-8’codeccan’tdecodebyte”错，代码及错误信息如下：&gt;&gt;&gt;importurllib.request&gt;&gt;&gt;def...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/dQCFKyQDXYm3F8rB0">	
					<span class="blog_title"> AI科技大本营</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">12-16</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/dQCFKyQDXYm3F8rB0/article/details/103573055" target="_blank"  rel="noopener" title="@程序员，一文让你掌握Python爬虫！"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-12.nonecase\"}","index":"12","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/dQCFKyQDXYm3F8rB0\/article\/details\/103573055","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-12.nonecase\"}","index":"12","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/dQCFKyQDXYm3F8rB0\/article\/details\/103573055","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-12.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-12.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				@程序员，一文让你掌握Python<em>爬虫</em>！			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/dQCFKyQDXYm3F8rB0/article/details/103573055" target="_blank"  rel="noopener" title="@程序员，一文让你掌握Python爬虫！"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-12.nonecase\"}","index":"12","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/dQCFKyQDXYm3F8rB0\/article\/details\/103573055","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-12.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-12.nonecase' 			>
				最近，笔者在经常后台看到小伙伴留言在问，想学Python，但不知道如何入门？其实对于这个问题，真是仁者见仁智者见智。有句老话说的好“一千个读者，就有一千个哈姆雷特”不过对于此疑惑，笔者就......			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/XueShijun1688">	
					<span class="blog_title"> XueShijun1688的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">06-18</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				54</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/XueShijun1688/article/details/101453664" target="_blank"  rel="noopener" title="爬虫获取网页数据，报错：UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start by..."
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-13.nonecase\"}","index":"13","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/XueShijun1688\/article\/details\/101453664","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-13.nonecase\"}","index":"13","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/XueShijun1688\/article\/details\/101453664","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-13.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-13.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				<em>爬虫</em><em>获取</em><em>网页</em><em>数据</em>，<em>报错</em>：<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>b</em>y...			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/XueShijun1688/article/details/101453664" target="_blank"  rel="noopener" title="爬虫获取网页数据，报错：UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start by..."
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-13.nonecase\"}","index":"13","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/XueShijun1688\/article\/details\/101453664","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-13.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-13.nonecase' 			>
				https://blog.csdn.net/hj_xy_0705/article/details/85011072转载于:https://www.cnblogs.com/lilinpging/p/11...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/wang7807564">	
					<span class="blog_title"> wotchin的技术博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">10-06</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				27万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/wang7807564/article/details/78164855" target="_blank"  rel="noopener" title="Python3解决UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte..问题 终极解决方案"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.nonecase\"}","index":"14","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/wang7807564\/article\/details\/78164855","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.nonecase\"}","index":"14","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/wang7807564\/article\/details\/78164855","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				Python3解决<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em>..问题 终极解决方案			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/wang7807564/article/details/78164855" target="_blank"  rel="noopener" title="Python3解决UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte..问题 终极解决方案"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.nonecase\"}","index":"14","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/wang7807564\/article\/details\/78164855","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-14.nonecase' 			>
				0x00问题引出：最近在做一个买房自动化分析Python脚本，需要爬取网页。在使用urllib获取reqest的response的时候，还要进行编码转换。见语句：result=res.decode(&#039;...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/u010483897">	
					<span class="blog_title"> u010483897的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">07-15</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				5902</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/u010483897/article/details/96019099" target="_blank"  rel="noopener" title="链接 达梦数据库，出现UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x80 in position 0:  错误"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-15.nonecase\"}","index":"15","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/u010483897\/article\/details\/96019099","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-15.nonecase\"}","index":"15","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/u010483897\/article\/details\/96019099","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-15.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-15.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				链接 达梦<em>数据</em>库，出现<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>0</em> in <em>position</em> <em>0</em>:  错误			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/u010483897/article/details/96019099" target="_blank"  rel="noopener" title="链接 达梦数据库，出现UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x80 in position 0:  错误"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-15.nonecase\"}","index":"15","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/u010483897\/article\/details\/96019099","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-15.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-15.nonecase' 			>
				1-self._conn = dmPython.connect(self._user, self._passwd, conn_url)print(dir(self._conn))  # 查看链接所在目...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_33144323">	
					<span class="blog_title"> IT人生</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">05-12</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/qq_33144323/article/details/80290799" target="_blank"  rel="noopener" title="异常处理： UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-16.nonecase\"}","index":"16","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_33144323\/article\/details\/80290799","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-16.nonecase\"}","index":"16","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_33144323\/article\/details\/80290799","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-16.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-16.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				异常处理： <em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/qq_33144323/article/details/80290799" target="_blank"  rel="noopener" title="异常处理： UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-16.nonecase\"}","index":"16","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_33144323\/article\/details\/80290799","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-16.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-16.nonecase' 			>
				ubuntu下Python3使用open(&#039;filename&#039;,&#039;r&#039;).read()读取.txt文件时抛出异常:UnicodeDecodeError:&#039;utf-8&#039;codeccan&#039;tdecodeb...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_36842174">	
					<span class="blog_title"> 这个面它又长又宽</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">03-31</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1412</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/weixin_36842174/article/details/88924660" target="_blank"  rel="noopener" title="python 爬虫 中乱码问题0xb5 和b&#039;\x1f\x8b\x08"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-17.nonecase\"}","index":"17","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_36842174\/article\/details\/88924660","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-17.nonecase\"}","index":"17","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_36842174\/article\/details\/88924660","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-17.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-17.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python <em>爬虫</em> 中乱码问题<em>0</em><em>x</em><em>b</em>5 和<em>b</em>&#<em>0</em>39;\<em>x</em><em>1</em>f\<em>x</em><em>8</em><em>b</em>\<em>x</em><em>0</em><em>8</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/weixin_36842174/article/details/88924660" target="_blank"  rel="noopener" title="python 爬虫 中乱码问题0xb5 和b&#039;\x1f\x8b\x08"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-17.nonecase\"}","index":"17","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_36842174\/article\/details\/88924660","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-17.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-17.nonecase' 			>
				在爬取网页时经常碰到乱码问题，其中：b&#039;\x1f\x8b\x08开头：import gzipret = gzip.decompress(res).decode(&quot;utf-8&quot;)另外一位博主的解决：im...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/baidu_19473529">	
					<span class="blog_title"> 愤怒的苹果ext的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">02-09</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				6万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/baidu_19473529/article/details/54949453" target="_blank"  rel="noopener" title="Python解决编码，如\xe9\x9d\x92\xe8\x9b\x99\xe7\x8e\x8b\xe5\xad\x90转中文"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-18.nonecase\"}","index":"18","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/baidu_19473529\/article\/details\/54949453","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-18.nonecase\"}","index":"18","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/baidu_19473529\/article\/details\/54949453","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-18.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-18.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				Python解决编码，如\<em>x</em>e9\<em>x</em>9d\<em>x</em>92\<em>x</em>e<em>8</em>\<em>x</em>9<em>b</em>\<em>x</em>99\<em>x</em>e7\<em>x</em><em>8</em>e\<em>x</em><em>8</em><em>b</em>\<em>x</em>e5\<em>x</em>ad\<em>x</em>9<em>0</em>转中文			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/baidu_19473529/article/details/54949453" target="_blank"  rel="noopener" title="Python解决编码，如\xe9\x9d\x92\xe8\x9b\x99\xe7\x8e\x8b\xe5\xad\x90转中文"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-18.nonecase\"}","index":"18","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/baidu_19473529\/article\/details\/54949453","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-18.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-18.nonecase' 			>
				利用Python解决编码问题,有些json在控制台打印也是这样的结果s=&#039;\xe9\x9d\x92\xe8\x9b\x99\xe7\x8e\x8b\xe5\xad\x90&#039;ss=s.encode(&#039;r...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/Mr_jia_qi">	
					<span class="blog_title"> Mr_jia_qi的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">11-06</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				116</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/Mr_jia_qi/article/details/102932916" target="_blank"  rel="noopener" title="爬虫遇到UnicodeDecodeError，或遇到解码失败的解决方法"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-19.nonecase\"}","index":"19","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/Mr_jia_qi\/article\/details\/102932916","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-19.nonecase\"}","index":"19","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/Mr_jia_qi\/article\/details\/102932916","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-19.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-19.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				<em>爬虫</em>遇到<em>UnicodeDecodeError</em>，或遇到解码失败的解决方法			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/Mr_jia_qi/article/details/102932916" target="_blank"  rel="noopener" title="爬虫遇到UnicodeDecodeError，或遇到解码失败的解决方法"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-19.nonecase\"}","index":"19","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/Mr_jia_qi\/article\/details\/102932916","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-19.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-19.nonecase' 			>
				在requests请求发出后接受网页源码遇到解码失败或解码不成功时使用一下方法：1、采用responsr.content.decode(response.apparent_encoding, ‘ign...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_43391383">	
					<span class="blog_title"> Gonna be the one</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">02-14</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				5832</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/qq_43391383/article/details/87295515" target="_blank"  rel="noopener" title="Scrapy框架爬取时，UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xb1 in position解决方法"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-20.nonecase\"}","index":"20","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_43391383\/article\/details\/87295515","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-20.nonecase\"}","index":"20","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_43391383\/article\/details\/87295515","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-20.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-20.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				Scrapy框架爬取时，<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em><em>1</em> in <em>position</em>解决方法			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/qq_43391383/article/details/87295515" target="_blank"  rel="noopener" title="Scrapy框架爬取时，UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xb1 in position解决方法"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-20.nonecase\"}","index":"20","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_43391383\/article\/details\/87295515","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-20.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-20.nonecase' 			>
				编码嘛，不是utf8就是gbk这里贴上代码importdemjsonstart_urls=[&#039;https://pic.sogou.com/pics/channel/getAllRecomPicByTa...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/gaoprincess">	
					<span class="blog_title"> gaoprincess的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">03-06</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1949</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/gaoprincess/article/details/79455727" target="_blank"  rel="noopener" title="python3 网络爬虫报错“UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position”解决方案"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-21.nonecase\"}","index":"21","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/gaoprincess\/article\/details\/79455727","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-21.nonecase\"}","index":"21","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/gaoprincess\/article\/details\/79455727","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-21.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-21.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python3 网络<em>爬虫</em><em>报错</em>“<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em>”解决方案			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/gaoprincess/article/details/79455727" target="_blank"  rel="noopener" title="python3 网络爬虫报错“UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position”解决方案"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-21.nonecase\"}","index":"21","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/gaoprincess\/article\/details\/79455727","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-21.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-21.nonecase' 			>
				代码在python2下运行没有问题，转到python3下（print已修改）出现了这个问题，在网上找了好久，只找到需要decode(&#039;utf-8&#039;),关于decode,encode 参考网址：http...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/Hudeyu777">	
					<span class="blog_title"> Hudeyu777的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">07-24</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/Hudeyu777/article/details/76023441" target="_blank"  rel="noopener" title="python 网络爬虫报错“UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position”解决方案"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-22.nonecase\"}","index":"22","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/Hudeyu777\/article\/details\/76023441","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-22.nonecase\"}","index":"22","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/Hudeyu777\/article\/details\/76023441","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-22.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-22.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python 网络<em>爬虫</em><em>报错</em>“<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em>”解决方案			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/Hudeyu777/article/details/76023441" target="_blank"  rel="noopener" title="python 网络爬虫报错“UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position”解决方案"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-22.nonecase\"}","index":"22","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/Hudeyu777\/article\/details\/76023441","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-22.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-22.nonecase' 			>
				今天用Python爬取豆瓣的时候，发现报错“UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1：invalid...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_28256625">	
					<span class="blog_title"> qq_28256625的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">02-19</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				808</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/qq_28256625/article/details/87716930" target="_blank"  rel="noopener" title="&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte(爬虫问题)"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-23.nonecase\"}","index":"23","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_28256625\/article\/details\/87716930","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-23.nonecase\"}","index":"23","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_28256625\/article\/details\/87716930","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-23.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-23.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>(<em>爬虫</em>问题)			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/qq_28256625/article/details/87716930" target="_blank"  rel="noopener" title="&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte(爬虫问题)"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-23.nonecase\"}","index":"23","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_28256625\/article\/details\/87716930","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-23.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-23.nonecase' 			>
				问题背景（注：python3）：用urllib.request抓去网页提示：print(reponse.read().decode(&#039;utf-8&#039;))UnicodeDecodeError: &#039;utf-...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_31589695">	
					<span class="blog_title"> qq_31589695的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">06-24</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				2238</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/qq_31589695/article/details/73694451" target="_blank"  rel="noopener" title="安装Scrapy遇到UnicodeDecodeError问题解决方法"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-24.nonecase\"}","index":"24","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_31589695\/article\/details\/73694451","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-24.nonecase\"}","index":"24","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_31589695\/article\/details\/73694451","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-24.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-24.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				安装Scrapy遇到<em>UnicodeDecodeError</em>问题解决方法			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/qq_31589695/article/details/73694451" target="_blank"  rel="noopener" title="安装Scrapy遇到UnicodeDecodeError问题解决方法"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-24.nonecase\"}","index":"24","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_31589695\/article\/details\/73694451","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-24.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-24.nonecase' 			>
				本文阐述了作者在安装Scrapy时，遇到UnicodeDecodeError问题以及解决问题的过程。...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box recommend-box-ident recommend-other-item-box">
	<a href="https://bbs.csdn.net/topics/390458887" target="_blank" rel="noopener" data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-25.nonecase\"}","index":"25","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/390458887","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-25.nonecase\"}","index":"25","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/390458887","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-25.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-25.nonecase' >
		<h4 class="text-truncate oneline">
					<!-- <span class="recommend-article-type">论坛</span> -->
			字符编码问题(unicode error) &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em><em>b</em> in <em>position</em> <em>0</em>				</h4>
		<div class="info-box d-flex align-content-center">
				<span class="date">05-15</span>
		</div>
	</a>

</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_41589031">	
					<span class="blog_title"> Wang Gangdan的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">07-11</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1211</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/qq_41589031/article/details/81008006" target="_blank"  rel="noopener" title="python3.6.5 读入txt文件报错（&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 60: invalid start byte）的解决"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-26.nonecase\"}","index":"26","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_41589031\/article\/details\/81008006","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-26.nonecase\"}","index":"26","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_41589031\/article\/details\/81008006","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-26.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-26.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python3.6.5 读入t<em>x</em>t文件<em>报错</em>（&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> 6<em>0</em>: <em>invalid</em> <em>start</em> <em>byte</em>）的解决			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/qq_41589031/article/details/81008006" target="_blank"  rel="noopener" title="python3.6.5 读入txt文件报错（&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 60: invalid start byte）的解决"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-26.nonecase\"}","index":"26","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_41589031\/article\/details\/81008006","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-26.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-26.nonecase' 			>
				python3.6.5 读入txt文件:报错：‘utf-8’ codec can’t decode byte 0x8b in position 60: invalid start byte原因：txt...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_40930415">	
					<span class="blog_title"> 翰墨春秋</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">06-21</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				2万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/weixin_40930415/article/details/80756828" target="_blank"  rel="noopener" title="解决 UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xba in position 5: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-27.nonecase\"}","index":"27","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_40930415\/article\/details\/80756828","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-27.nonecase\"}","index":"27","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_40930415\/article\/details\/80756828","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-27.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-27.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				解决 <em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em>a in <em>position</em> 5: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/weixin_40930415/article/details/80756828" target="_blank"  rel="noopener" title="解决 UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xba in position 5: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-27.nonecase\"}","index":"27","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_40930415\/article\/details\/80756828","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-27.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-27.nonecase' 			>
				在执行以下代码时@requires_authorizationf=open(&#039;红楼梦.txt&#039;,encoding=&#039;utf-8&#039;)each_line=f.readline()报错如下：UnicodeD...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/stone9159">	
					<span class="blog_title"> stone9159的专栏</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">01-16</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				8万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/stone9159/article/details/79071316" target="_blank"  rel="noopener" title="Python读取文件UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xbc in position 2: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-28.nonecase\"}","index":"28","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/stone9159\/article\/details\/79071316","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-28.nonecase\"}","index":"28","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/stone9159\/article\/details\/79071316","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-28.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-28.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				Python读取文件<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em>c in <em>position</em> 2: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/stone9159/article/details/79071316" target="_blank"  rel="noopener" title="Python读取文件UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xbc in position 2: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-28.nonecase\"}","index":"28","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/stone9159\/article\/details\/79071316","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-28.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-28.nonecase' 			>
				Python读取文件报错：UnicodeDecodeError:&#039;utf-8&#039;codeccan&#039;tdecodebyte0xbcinposition2:invalidstartbyte后来百度找到答案：...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/Mr_HXJ">	
					<span class="blog_title"> Mr_HXJ的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">03-31</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				2653</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/Mr_HXJ/article/details/79767054" target="_blank"  rel="noopener" title="Python爬虫报UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xa1 in position 225: invalid start byt"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-29.nonecase\"}","index":"29","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/Mr_HXJ\/article\/details\/79767054","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-29.nonecase\"}","index":"29","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/Mr_HXJ\/article\/details\/79767054","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-29.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-29.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				Python<em>爬虫</em>报<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em>a<em>1</em> in <em>position</em> 225: <em>invalid</em> <em>start</em> <em>b</em>yt			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/Mr_HXJ/article/details/79767054" target="_blank"  rel="noopener" title="Python爬虫报UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xa1 in position 225: invalid start byt"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-29.nonecase\"}","index":"29","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/Mr_HXJ\/article\/details\/79767054","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-29.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-29.nonecase' 			>
				Python爬虫报UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xa1 in position 225: invalid start byt...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_40309183">	
					<span class="blog_title"> qq_40309183的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">06-17</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/qq_40309183/article/details/80716637" target="_blank"  rel="noopener" title="Python3解决UnicodeDecodeError:&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-30.nonecase\"}","index":"30","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_40309183\/article\/details\/80716637","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-30.nonecase\"}","index":"30","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_40309183\/article\/details\/80716637","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-30.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-30.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				Python3解决<em>UnicodeDecodeError</em>:&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/qq_40309183/article/details/80716637" target="_blank"  rel="noopener" title="Python3解决UnicodeDecodeError:&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-30.nonecase\"}","index":"30","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_40309183\/article\/details\/80716637","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-30.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-30.nonecase' 			>
				有两种办法：这个时候可以选择修改字符集参数，一般这种情况出现得较多是在国标码(GBK)和utf8之间选择出现了问题。	出现异常报错是由于设置了decode()方法的第二个参数errors为严格（str...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_30247159">	
					<span class="blog_title"> weixin_30247159的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">01-19</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				333</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/weixin_30247159/article/details/99158927" target="_blank"  rel="noopener" title="python爬虫程序中:&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte问题的原因及解决办法..."
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-31.nonecase\"}","index":"31","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/weixin_30247159\/article\/details\/99158927","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-31.nonecase\"}","index":"31","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/weixin_30247159\/article\/details\/99158927","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-31.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-31.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python<em>爬虫</em>程序中:&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>问题的原因及解决办法...			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/weixin_30247159/article/details/99158927" target="_blank"  rel="noopener" title="python爬虫程序中:&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte问题的原因及解决办法..."
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-31.nonecase\"}","index":"31","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/weixin_30247159\/article\/details\/99158927","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-31.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-31.nonecase' 			>
				import urllib.requestimport urllib.parseurl=&quot;http://www.shuquge.com/txt/152/index.html&quot;headers={    ...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_30365951">	
					<span class="blog_title"> qq_30365951的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">11-30</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1739</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/qq_30365951/article/details/53414373" target="_blank"  rel="noopener" title="解决 python爬虫&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte‘错误"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-32.nonecase\"}","index":"32","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_30365951\/article\/details\/53414373","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-32.nonecase\"}","index":"32","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_30365951\/article\/details\/53414373","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-32.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-32.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				解决 python<em>爬虫</em>&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>‘错误			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/qq_30365951/article/details/53414373" target="_blank"  rel="noopener" title="解决 python爬虫&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte‘错误"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-32.nonecase\"}","index":"32","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_30365951\/article\/details\/53414373","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-32.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-32.nonecase' 			>
				今天在学写python爬虫时，爬取URL源码转码（decode)时总是报错：&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid st...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_24137739">	
					<span class="blog_title"> qq_24137739的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">01-02</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				417</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/qq_24137739/article/details/85644051" target="_blank"  rel="noopener" title="问题：UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xff in position 0: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-33.nonecase\"}","index":"33","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_24137739\/article\/details\/85644051","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-33.nonecase\"}","index":"33","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_24137739\/article\/details\/85644051","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-33.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-33.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				问题：<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em>ff in <em>position</em> <em>0</em>: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/qq_24137739/article/details/85644051" target="_blank"  rel="noopener" title="问题：UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xff in position 0: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-33.nonecase\"}","index":"33","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_24137739\/article\/details\/85644051","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-33.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-33.nonecase' 			>
				#!/usr/bin/env python3# encoding: utf-8import osdef mv_img(path):    # path_list 为第一层文件列表    path_li...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline no-title">
												</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">03-15</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				715</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/yzgsunshine/article/details/88574401" target="_blank"  rel="noopener" title="爬虫第一篇——Google翻译服务"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-34.nonecase\"}","index":"34","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/yzgsunshine\/article\/details\/88574401","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-34.nonecase\"}","index":"34","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/yzgsunshine\/article\/details\/88574401","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-34.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-34.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				<em>爬虫</em>第一篇——Google翻译服务			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/yzgsunshine/article/details/88574401" target="_blank"  rel="noopener" title="爬虫第一篇——Google翻译服务"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-34.nonecase\"}","index":"34","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/yzgsunshine\/article\/details\/88574401","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-34.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-34.nonecase' 			>
				自学爬虫第一篇，尝试Google翻译# -*- coding: UTF-8 -*-from urllib import requestfrom io import BytesIOimport gzip...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/the_fool_">	
					<span class="blog_title"> the_fool_的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">04-10</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				151</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/the_fool_/article/details/89183352" target="_blank"  rel="noopener" title="【python】UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-35.nonecase\"}","index":"35","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/the_fool_\/article\/details\/89183352","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-35.nonecase\"}","index":"35","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/the_fool_\/article\/details\/89183352","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-35.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-35.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				【python】<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/the_fool_/article/details/89183352" target="_blank"  rel="noopener" title="【python】UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-35.nonecase\"}","index":"35","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/the_fool_\/article\/details\/89183352","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-35.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-35.nonecase' 			>
				header中干掉&quot;Accept-Encoding&quot;: &quot;gzip, deflate, br&quot;,注意：			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box recommend-box-ident recommend-other-item-box">
	<a href="http://ask.csdn.net/questions/344097" target="_blank" rel="noopener" data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-36.nonecase\"}","index":"36","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/344097","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-36.nonecase\"}","index":"36","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/344097","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-36.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-36.nonecase' >
		<h4 class="text-truncate oneline">
					<!-- <span class="recommend-article-type">问答</span> -->
			python  <em>invalid</em> <em>start</em> <em>byte</em>				</h4>
		<div class="info-box d-flex align-content-center">
				<span class="date">11-07</span>
		</div>
	</a>

</div>

<div class="recommend-item-box recommend-box-ident recommend-other-item-box">
	<a href="http://ask.csdn.net/questions/783398" target="_blank" rel="noopener" data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-37.nonecase\"}","index":"37","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/783398","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-37.nonecase\"}","index":"37","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/783398","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-37.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-37.nonecase' >
		<h4 class="text-truncate oneline">
					<!-- <span class="recommend-article-type">问答</span> -->
			pytorch cuda版运行出错 <em>invalid</em> <em>start</em> <em>byte</em>				</h4>
		<div class="info-box d-flex align-content-center">
				<span class="date">09-10</span>
		</div>
	</a>

</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/blue_lll">	
					<span class="blog_title"> blue_lll的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">08-06</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1222</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/blue_lll/article/details/98596989" target="_blank"  rel="noopener" title="读取文件转码问报‘UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xa8 in position 4917: invalid start by"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-38.nonecase\"}","index":"38","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/blue_lll\/article\/details\/98596989","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-38.nonecase\"}","index":"38","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/blue_lll\/article\/details\/98596989","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-38.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-38.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				读取文件转码问报‘<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em>a<em>8</em> in <em>position</em> 49<em>1</em>7: <em>invalid</em> <em>start</em> <em>b</em>y			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/blue_lll/article/details/98596989" target="_blank"  rel="noopener" title="读取文件转码问报‘UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xa8 in position 4917: invalid start by"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-38.nonecase\"}","index":"38","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/blue_lll\/article\/details\/98596989","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-38.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-38.nonecase' 			>
				读取文件转码问题报‘UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xa8 in position 4917: invalid start b...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/CSDNedu">	
					<span class="blog_title"> CSDN学院</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">02-26</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				7万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/CSDNedu/article/details/104521554" target="_blank"  rel="noopener" title="完了！Python黄了！ 80%的程序员：痛快！你怎么看？"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-39.nonecase\"}","index":"39","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/CSDNedu\/article\/details\/104521554","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-39.nonecase\"}","index":"39","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/CSDNedu\/article\/details\/104521554","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-39.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-39.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				完了！Python黄了！ <em>8</em><em>0</em>%的程序员：痛快！你怎么看？			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/CSDNedu/article/details/104521554" target="_blank"  rel="noopener" title="完了！Python黄了！ 80%的程序员：痛快！你怎么看？"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-39.nonecase\"}","index":"39","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/CSDNedu\/article\/details\/104521554","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-39.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-39.nonecase' 			>
				Python真的万能语言？在我的一个朋友看来，他坚信 Python 可以做任何事情。其实我是不服的，因为我在某网站看到有条评论：Python将要黄了！事实究竟如何？这篇文章会揭开这个黑幕，让程序员看清...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/sunybl">	
					<span class="blog_title"> sunybl的专栏</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">04-04</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				6773</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/sunybl/article/details/79815981" target="_blank"  rel="noopener" title="python3  UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-40.nonecase\"}","index":"40","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/sunybl\/article\/details\/79815981","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-40.nonecase\"}","index":"40","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/sunybl\/article\/details\/79815981","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-40.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-40.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python3  <em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/sunybl/article/details/79815981" target="_blank"  rel="noopener" title="python3  UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-40.nonecase\"}","index":"40","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/sunybl\/article\/details\/79815981","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-40.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-40.nonecase' 			>
				Python3代码：from urllib.request import urlopenfrom urllib.request import Requesturl = &quot;http://www...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_40547993">	
					<span class="blog_title"> weixin_40547993的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">07-02</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/weixin_40547993/article/details/94442001" target="_blank"  rel="noopener" title="编码问题：UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xb3 in position"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-41.nonecase\"}","index":"41","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/weixin_40547993\/article\/details\/94442001","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-41.nonecase\"}","index":"41","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/weixin_40547993\/article\/details\/94442001","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-41.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-41.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				编码问题：<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em>3 in <em>position</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/weixin_40547993/article/details/94442001" target="_blank"  rel="noopener" title="编码问题：UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xb3 in position"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-41.nonecase\"}","index":"41","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/weixin_40547993\/article\/details\/94442001","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-41.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-41.nonecase' 			>
				有一次报错如下：UnicodeDecodeError:&#039;utf-8&#039;codeccan&#039;tdecodebyte0xb3inposition0:invalidstartbyte编码问题：f=open(tx...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_45850939">	
					<span class="blog_title"> 这不能算是一些......额......我打赌你不会喜欢。</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">02-28</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				97</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/weixin_45850939/article/details/104556642" target="_blank"  rel="noopener" title="爬虫：UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-42.nonecase\"}","index":"42","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/weixin_45850939\/article\/details\/104556642","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-42.nonecase\"}","index":"42","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/weixin_45850939\/article\/details\/104556642","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-42.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-42.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				<em>爬虫</em>：<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/weixin_45850939/article/details/104556642" target="_blank"  rel="noopener" title="爬虫：UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-42.nonecase\"}","index":"42","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/weixin_45850939\/article\/details\/104556642","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-42.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-42.nonecase' 			>
				https://blog.csdn.net/zhang_cl_cn/article/details/94575568			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/u013045749">	
					<span class="blog_title"> Carl</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">09-30</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				3万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/u013045749/article/details/48825793" target="_blank"  rel="noopener" title="Python解析json文件报错：&#039;utf8&#039; codec can&#039;t decode byte 0xbb in position 0: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-43.nonecase\"}","index":"43","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/u013045749\/article\/details\/48825793","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-43.nonecase\"}","index":"43","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/u013045749\/article\/details\/48825793","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-43.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-43.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				Python解析json文件<em>报错</em>：&#<em>0</em>39;utf<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em><em>b</em> in <em>position</em> <em>0</em>: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/u013045749/article/details/48825793" target="_blank"  rel="noopener" title="Python解析json文件报错：&#039;utf8&#039; codec can&#039;t decode byte 0xbb in position 0: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-43.nonecase\"}","index":"43","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/u013045749\/article\/details\/48825793","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-43.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-43.nonecase' 			>
				今天尝试读一个json文件，一直报错代码：f = file(&#039;relation.json&#039;)d = json.load(f)报错：在使用Python的时候，经常会碰到这个报错，之前一直弄不清楚是什么问...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box recommend-box-ident recommend-other-item-box">
	<a href="http://ask.csdn.net/questions/1050480" target="_blank" rel="noopener" data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-44.nonecase\"}","index":"44","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/1050480","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-44.nonecase\"}","index":"44","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/1050480","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-44.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-44.nonecase' >
		<h4 class="text-truncate oneline">
					<!-- <span class="recommend-article-type">问答</span> -->
			python编码问题<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em>7 in <em>position</em> <em>0</em>: <em>invalid</em> <em>start</em> <em>byte</em>。				</h4>
		<div class="info-box d-flex align-content-center">
				<span class="date">01-02</span>
		</div>
	</a>

</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_33659001">	
					<span class="blog_title"> 风铃下的铁塔</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">05-21</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1224</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/qq_33659001/article/details/90405689" target="_blank"  rel="noopener" title="解决：UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xa1 in position 0"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-45.nonecase\"}","index":"45","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_33659001\/article\/details\/90405689","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-45.nonecase\"}","index":"45","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_33659001\/article\/details\/90405689","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-45.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-45.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				解决：<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em>a<em>1</em> in <em>position</em> <em>0</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/qq_33659001/article/details/90405689" target="_blank"  rel="noopener" title="解决：UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xa1 in position 0"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-45.nonecase\"}","index":"45","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_33659001\/article\/details\/90405689","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-45.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-45.nonecase' 			>
				此问题为中文解码问题，添加正确的解码方式即可。本次工作中问题前提：使用了邮件相关功能，smtplib.SMTP()，出现此编码问题。解决方案：此方法是要获取计算机名的，要么进行相关声明，要么干脆把计算...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box recommend-box-ident recommend-other-item-box">
	<a href="http://ask.csdn.net/questions/1056789" target="_blank" rel="noopener" data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-46.nonecase\"}","index":"46","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/1056789","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-46.nonecase\"}","index":"46","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/1056789","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-46.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-ask_topic-BlogCommendFromBaidu-46.nonecase' >
		<h4 class="text-truncate oneline">
					<!-- <span class="recommend-article-type">问答</span> -->
			&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em>2 in <em>position</em> <em>0</em>:<em>invalid</em> <em>start</em> <em>byte</em>				</h4>
		<div class="info-box d-flex align-content-center">
				<span class="date">03-02</span>
		</div>
	</a>

</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_40769885">	
					<span class="blog_title"> 米兰小子SHC</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">09-01</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				9万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/weixin_40769885/article/details/82288553" target="_blank"  rel="noopener" title="python 报错&quot;UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte&quot;的解决办法"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-47.nonecase\"}","index":"47","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_40769885\/article\/details\/82288553","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-47.nonecase\"}","index":"47","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_40769885\/article\/details\/82288553","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-47.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-47.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python <em>报错</em>&quot;<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em>&quot;的解决办法			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/weixin_40769885/article/details/82288553" target="_blank"  rel="noopener" title="python 报错&quot;UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte&quot;的解决办法"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-47.nonecase\"}","index":"47","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_40769885\/article\/details\/82288553","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-47.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-47.nonecase' 			>
				最近写了一个Python小程序，用来统计《三国演义》中人物出场次数的。从网上下载一个”三国演义.txt”的文件，但是后来程序运行时出现以下报错：UnicodeDecodeError:‘utf-8’co...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/yigeng3663">	
					<span class="blog_title"> yigeng3663的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">12-14</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				2050</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/yigeng3663/article/details/85005057" target="_blank"  rel="noopener" title="解决python3读取csv时报错 UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xbd in position 0: invalid st"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-48.nonecase\"}","index":"48","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/yigeng3663\/article\/details\/85005057","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-48.nonecase\"}","index":"48","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/yigeng3663\/article\/details\/85005057","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-48.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-48.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				解决python3读取csv时<em>报错</em> <em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em>d in <em>position</em> <em>0</em>: <em>invalid</em> st			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/yigeng3663/article/details/85005057" target="_blank"  rel="noopener" title="解决python3读取csv时报错 UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xbd in position 0: invalid st"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-48.nonecase\"}","index":"48","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/yigeng3663\/article\/details\/85005057","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-48.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-48.nonecase' 			>
				flightinfo1=pd.read_csv(&#039;flightinfo1.csv&#039;, encoding=&#039;latin-1&#039;)加上 encoding=&#039;latin-1&#039; 即可			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/chenlunju">	
					<span class="blog_title"> chenlunju的专栏</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">01-31</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				3126</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/chenlunju/article/details/86716964" target="_blank"  rel="noopener" title="python3 UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-49.nonecase\"}","index":"49","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/chenlunju\/article\/details\/86716964","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-49.nonecase\"}","index":"49","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/chenlunju\/article\/details\/86716964","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-49.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-49.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python3 <em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/chenlunju/article/details/86716964" target="_blank"  rel="noopener" title="python3 UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-49.nonecase\"}","index":"49","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/chenlunju\/article\/details\/86716964","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-49.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-49.nonecase' 			>
				Python3 使用urllib库模拟请求头的错误。代码：import urllib.requesturl = &#039;http://www.baidu.com&#039;# 模拟请求头headers = {    ...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/wzx479">	
					<span class="blog_title"> 这世界缤纷多彩</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">11-05</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				4359</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/wzx479/article/details/83754504" target="_blank"  rel="noopener" title="python3 error : 解决UnicodeDecodeError &#039;utf-8&#039; codec can&#039;t decode byte..问题"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-50.nonecase\"}","index":"50","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/wzx479\/article\/details\/83754504","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-50.nonecase\"}","index":"50","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/wzx479\/article\/details\/83754504","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-50.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-50.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python3 error : 解决<em>UnicodeDecodeError</em> &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em>..问题			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/wzx479/article/details/83754504" target="_blank"  rel="noopener" title="python3 error : 解决UnicodeDecodeError &#039;utf-8&#039; codec can&#039;t decode byte..问题"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-50.nonecase\"}","index":"50","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/wzx479\/article\/details\/83754504","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-50.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-50.nonecase' 			>
				编译打包的时候出现这个错误思路：编码格式问题(可直接解决问题)1、首先尝试将中文解释都去掉2、然后，改变控制台的编码格式为utf-8解决方法，先在控制台中输入chcp65001，然后再使用pyinst...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/yehuaner33">	
					<span class="blog_title"> xiaosheng</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">06-26</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1533</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/yehuaner33/article/details/80820404" target="_blank"  rel="noopener" title="python做有道翻译接口的时候报UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid sta"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-51.nonecase\"}","index":"51","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/yehuaner33\/article\/details\/80820404","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-51.nonecase\"}","index":"51","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/yehuaner33\/article\/details\/80820404","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-51.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-51.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python做有道翻译接口的时候报<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> sta			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/yehuaner33/article/details/80820404" target="_blank"  rel="noopener" title="python做有道翻译接口的时候报UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid sta"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-51.nonecase\"}","index":"51","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/yehuaner33\/article\/details\/80820404","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-51.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-51.nonecase' 			>
				当遇到这个错误的时候，解决办法是：headers = {    &quot;Host&quot;:&quot;fanyi.youdao.com&quot;,    &quot;Connection&amp;q...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/mzl_18353516147">	
					<span class="blog_title"> 马哥博客录</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">04-09</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1131</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/mzl_18353516147/article/details/89153559" target="_blank"  rel="noopener" title="&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 2: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-52.nonecase\"}","index":"52","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/mzl_18353516147\/article\/details\/89153559","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-52.nonecase\"}","index":"52","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/mzl_18353516147\/article\/details\/89153559","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-52.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-52.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> 2: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/mzl_18353516147/article/details/89153559" target="_blank"  rel="noopener" title="&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 2: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-52.nonecase\"}","index":"52","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/mzl_18353516147\/article\/details\/89153559","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-52.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-52.nonecase' 			>
				用python的pandas模块中的pd.read_csv(&#039;Train_nyOWmfK.csv&#039;)函数读数据的时候遇到&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in ...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_40764723">	
					<span class="blog_title"> qq_40764723的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">06-21</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1749</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/qq_40764723/article/details/80762366" target="_blank"  rel="noopener" title="&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte或者chardet 获的encoding为none"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-53.nonecase\"}","index":"53","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_40764723\/article\/details\/80762366","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-53.nonecase\"}","index":"53","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_40764723\/article\/details\/80762366","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-53.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-53.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>或者chardet 获的encoding为none			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/qq_40764723/article/details/80762366" target="_blank"  rel="noopener" title="&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte或者chardet 获的encoding为none"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-53.nonecase\"}","index":"53","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_40764723\/article\/details\/80762366","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-53.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-53.nonecase' 			>
				之前爬虫访问百度一直出现 &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte然后安装了能够检测网页编码的cha...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_41010318">	
					<span class="blog_title"> weixin_41010318的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">07-23</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				4639</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/weixin_41010318/article/details/81167540" target="_blank"  rel="noopener" title="Python 编码问题：UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xa8 in position"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-54.nonecase\"}","index":"54","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_41010318\/article\/details\/81167540","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-54.nonecase\"}","index":"54","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_41010318\/article\/details\/81167540","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-54.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-54.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				Python 编码问题：<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em>a<em>8</em> in <em>position</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/weixin_41010318/article/details/81167540" target="_blank"  rel="noopener" title="Python 编码问题：UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xa8 in position"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-54.nonecase\"}","index":"54","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_41010318\/article\/details\/81167540","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-54.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-54.nonecase' 			>
				读取文件，并解析内容，但是有些文件的格式不是utf-8，导致读取失败，无法继续原来的代码fr = open(&#039;test.txt&#039;)for line in fr.readlines:     print...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/kdongyi">	
					<span class="blog_title"> 清晨的光明</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">02-18</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/kdongyi/article/details/87575034" target="_blank"  rel="noopener" title="UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xb2 in position 14: invalid start byte 错误解决办法"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-55.nonecase\"}","index":"55","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/kdongyi\/article\/details\/87575034","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-55.nonecase\"}","index":"55","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/kdongyi\/article\/details\/87575034","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-55.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-55.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em>2 in <em>position</em> <em>1</em>4: <em>invalid</em> <em>start</em> <em>byte</em> 错误解决办法			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/kdongyi/article/details/87575034" target="_blank"  rel="noopener" title="UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xb2 in position 14: invalid start byte 错误解决办法"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-55.nonecase\"}","index":"55","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/kdongyi\/article\/details\/87575034","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-55.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-55.nonecase' 			>
				decode()函数可以对数据进行解码：result=res.decode(encoding=&quot;utf-8&quot;)当使用decode遇到报错时：UnicodeDecodeError:&#039;...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_35892623">	
					<span class="blog_title"> qq_35892623的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">10-04</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				4891</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/qq_35892623/article/details/82941262" target="_blank"  rel="noopener" title="UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xb5 in position 1: invalid start byte解决方案"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-56.nonecase\"}","index":"56","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_35892623\/article\/details\/82941262","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-56.nonecase\"}","index":"56","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_35892623\/article\/details\/82941262","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-56.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-56.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em>5 in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>解决方案			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/qq_35892623/article/details/82941262" target="_blank"  rel="noopener" title="UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xb5 in position 1: invalid start byte解决方案"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-56.nonecase\"}","index":"56","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_35892623\/article\/details\/82941262","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-56.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-56.nonecase' 			>
				UnicodeDecodeError:&#039;utf-8&#039;codeccan&#039;tdecodebyte0xb5inposition1:invalidstartbyteimportpandasaspdf=open...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/u013555719">	
					<span class="blog_title"> 遗世独立的乌托邦</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">09-15</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				7万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/u013555719/article/details/77991010" target="_blank"  rel="noopener" title="&#039;utf-8&#039; codec can&#039;t decode byte 0xff in position 0: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-57.nonecase\"}","index":"57","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/u013555719\/article\/details\/77991010","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-57.nonecase\"}","index":"57","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/u013555719\/article\/details\/77991010","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-57.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-57.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em>ff in <em>position</em> <em>0</em>: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/u013555719/article/details/77991010" target="_blank"  rel="noopener" title="&#039;utf-8&#039; codec can&#039;t decode byte 0xff in position 0: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-57.nonecase\"}","index":"57","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/u013555719\/article\/details\/77991010","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-57.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-57.nonecase' 			>
				‘utf-8’ codec can’t decode byte 0xff in position 0: invalid start byte觉得有用的话,欢迎一起讨论相互学习~Follow Me今天使...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_30764137">	
					<span class="blog_title"> weixin_30764137的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">11-22</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				25</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/weixin_30764137/article/details/96961853" target="_blank"  rel="noopener" title="Python3 解决 &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-58.nonecase\"}","index":"58","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/weixin_30764137\/article\/details\/96961853","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-58.nonecase\"}","index":"58","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/weixin_30764137\/article\/details\/96961853","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-58.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-58.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				Python3 解决 &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/weixin_30764137/article/details/96961853" target="_blank"  rel="noopener" title="Python3 解决 &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-58.nonecase\"}","index":"58","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/weixin_30764137\/article\/details\/96961853","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-58.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-58.nonecase' 			>
				Python3 解决 &#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 1: invalid start byte一、问题　　request.Reque...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/serena9636">	
					<span class="blog_title"> 闲人一个</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">06-03</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				4万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/serena9636/article/details/72854039" target="_blank"  rel="noopener" title="解决Python:&#039;utf-8&#039; codec can&#039;t decode byte 0xfc in position 14: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-59.nonecase\"}","index":"59","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/serena9636\/article\/details\/72854039","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-59.nonecase\"}","index":"59","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/serena9636\/article\/details\/72854039","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-59.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-59.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				解决Python:&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em>fc in <em>position</em> <em>1</em>4: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/serena9636/article/details/72854039" target="_blank"  rel="noopener" title="解决Python:&#039;utf-8&#039; codec can&#039;t decode byte 0xfc in position 14: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-59.nonecase\"}","index":"59","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/serena9636\/article\/details\/72854039","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-59.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-59.nonecase' 			>
				读取了一个.amc的骨骼信息文件，然后报错：&#039;utf-8&#039;codeccan&#039;tdecodebyte0xfcinposition14:invalidstartbyte解决方法很简单，用各种textrea...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/mycar001">	
					<span class="blog_title"> mycar001的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">10-30</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/mycar001/article/details/78391028" target="_blank"  rel="noopener" title="设置Accept-Encoding为gzip,deflate，返回的网页是乱码"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-60.nonecase\"}","index":"60","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/mycar001\/article\/details\/78391028","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-60.nonecase\"}","index":"60","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/mycar001\/article\/details\/78391028","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-60.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-60.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				设置Accept-Encoding为gzip,deflate，返回的<em>网页</em>是乱码			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/mycar001/article/details/78391028" target="_blank"  rel="noopener" title="设置Accept-Encoding为gzip,deflate，返回的网页是乱码"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-60.nonecase\"}","index":"60","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/mycar001\/article\/details\/78391028","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-60.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-60.nonecase' 			>
				用C#写代码去获取网页内容。其中request的header中，设置Accept-Encoding为gzip,deflate：req=(HttpWebRequest)WebRequest.Create...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/harvic880925">	
					<span class="blog_title"> 启舰</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">04-14</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				51万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/harvic880925/article/details/102850436" target="_blank"  rel="noopener" title="在中国程序员是青春饭吗？"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-61.nonecase\"}","index":"61","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/harvic880925\/article\/details\/102850436","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-61.nonecase\"}","index":"61","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/harvic880925\/article\/details\/102850436","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-61.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-61.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				在中国程序员是青春饭吗？			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/harvic880925/article/details/102850436" target="_blank"  rel="noopener" title="在中国程序员是青春饭吗？"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-61.nonecase\"}","index":"61","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/harvic880925\/article\/details\/102850436","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-61.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-61.nonecase' 			>
				今年，我也32了 ，为了不给大家误导，咨询了猎头、圈内好友，以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助，记得帮我点赞哦。目录：你以为的人生	一次又一次的伤害	猎头界的真...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/m0_37907797">	
					<span class="blog_title"> 帅地</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">03-19</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				79万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/m0_37907797/article/details/102781027" target="_blank"  rel="noopener" title="大学四年自学走来，这些私藏的实用工具/学习网站我贡献出来了"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-62.nonecase\"}","index":"62","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/m0_37907797\/article\/details\/102781027","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-62.nonecase\"}","index":"62","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/m0_37907797\/article\/details\/102781027","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-62.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-62.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				大学四年自学走来，这些私藏的实用工具/学习网站我贡献出来了			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/m0_37907797/article/details/102781027" target="_blank"  rel="noopener" title="大学四年自学走来，这些私藏的实用工具/学习网站我贡献出来了"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-62.nonecase\"}","index":"62","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/m0_37907797\/article\/details\/102781027","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-62.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-62.nonecase' 			>
				大学四年，看课本是不可能一直看课本的了，对于学习，特别是自学，善于搜索网上的一些资源来辅助，还是非常有必要的，下面我就把这几年私藏的各种资源，网站贡献出来给你们。主要有：电子书搜索、实用工具、在线视频...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/erinalees">	
					<span class="blog_title"> erinalees的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">12-21</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				2万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/erinalees/article/details/78862011" target="_blank"  rel="noopener" title="python3 读入csv文件报错（&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 2: invalid start byte）的解决"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-63.nonecase\"}","index":"63","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/erinalees\/article\/details\/78862011","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-63.nonecase\"}","index":"63","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/erinalees\/article\/details\/78862011","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-63.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-63.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python3 读入csv文件<em>报错</em>（&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> 2: <em>invalid</em> <em>start</em> <em>byte</em>）的解决			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/erinalees/article/details/78862011" target="_blank"  rel="noopener" title="python3 读入csv文件报错（&#039;utf-8&#039; codec can&#039;t decode byte 0x8b in position 2: invalid start byte）的解决"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-63.nonecase\"}","index":"63","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/erinalees\/article\/details\/78862011","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-63.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-63.nonecase' 			>
				python3读入csv编码调整			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box recommend-box-ident recommend-other-item-box">
	<a href="https://bbs.csdn.net/topics/390905281" target="_blank" rel="noopener" data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-64.nonecase\"}","index":"64","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/390905281","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-64.nonecase\"}","index":"64","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/390905281","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-64.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-discussion_topic-BlogCommendFromBaidu-64.nonecase' >
		<h4 class="text-truncate oneline">
					<!-- <span class="recommend-article-type">论坛</span> -->
			<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em>9 in <em>position</em> <em>1</em><em>0</em>: <em>invalid</em> 				</h4>
		<div class="info-box d-flex align-content-center">
				<span class="date">10-14</span>
		</div>
	</a>

</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_38343111">	
					<span class="blog_title"> Wqxleo</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">06-10</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1079</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/qq_38343111/article/details/91362920" target="_blank"  rel="noopener" title="Pyinstaller打包出现UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xce in position 解决方案"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-65.nonecase\"}","index":"65","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_38343111\/article\/details\/91362920","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-65.nonecase\"}","index":"65","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_38343111\/article\/details\/91362920","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-65.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-65.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				Pyinstaller打包出现<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em>ce in <em>position</em> 解决方案			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/qq_38343111/article/details/91362920" target="_blank"  rel="noopener" title="Pyinstaller打包出现UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0xce in position 解决方案"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-65.nonecase\"}","index":"65","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_38343111\/article\/details\/91362920","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-65.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-65.nonecase' 			>
				解决方案在你打包的命令行中先输入chcp 65001然后再输入打包命令。pyinstaller -F xxx.py...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/qingyuanluofeng">	
					<span class="blog_title"> qingyuanluofeng的专栏</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">04-22</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				7万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/qingyuanluofeng/article/details/45190867" target="_blank"  rel="noopener" title="python 2、python读取.htm文件报错：UnicodeDecodeError: &#039;utf8&#039; codec can&#039;t decode byte 0xb3 in position 0的解决方法"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-66.nonecase\"}","index":"66","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qingyuanluofeng\/article\/details\/45190867","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-66.nonecase\"}","index":"66","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qingyuanluofeng\/article\/details\/45190867","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-66.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-66.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python 2、python读取.htm文件<em>报错</em>：<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em>3 in <em>position</em> <em>0</em>的解决方法			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/qingyuanluofeng/article/details/45190867" target="_blank"  rel="noopener" title="python 2、python读取.htm文件报错：UnicodeDecodeError: &#039;utf8&#039; codec can&#039;t decode byte 0xb3 in position 0的解决方法"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-66.nonecase\"}","index":"66","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qingyuanluofeng\/article\/details\/45190867","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-66.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-66.nonecase' 			>
				问题是这样的：我用python写的程序去读取.htm文件中的数据，刚开始我用:fr = open(&quot;0.htm&quot; , &quot;r&quot;)时，程序运行后直接崩溃，后来根据提...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/tao_627">	
					<span class="blog_title"> 雪峰流云</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">03-30</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				2万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/tao_627/article/details/51019916" target="_blank"  rel="noopener" title="UnicodeDecodeError: &#039;utf8&#039; codec can&#039;t decode byte 0xb1 in position 0: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-67.nonecase\"}","index":"67","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/tao_627\/article\/details\/51019916","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-67.nonecase\"}","index":"67","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/tao_627\/article\/details\/51019916","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-67.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-67.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em><em>1</em> in <em>position</em> <em>0</em>: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/tao_627/article/details/51019916" target="_blank"  rel="noopener" title="UnicodeDecodeError: &#039;utf8&#039; codec can&#039;t decode byte 0xb1 in position 0: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-67.nonecase\"}","index":"67","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/tao_627\/article\/details\/51019916","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-67.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-67.nonecase' 			>
				在Python处理字符编码时出现如下错误：UnicodeDecodeError: &#039;utf8&#039; codec can&#039;t decode byte 0xb1 in position 0: invalid ...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/shengyingpo">	
					<span class="blog_title"> Final Fantasy</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">09-27</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				3万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/shengyingpo/article/details/52683635" target="_blank"  rel="noopener" title="UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x80 in position 0: invalid start byte解决方法"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-68.nonecase\"}","index":"68","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/shengyingpo\/article\/details\/52683635","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-68.nonecase\"}","index":"68","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/shengyingpo\/article\/details\/52683635","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-68.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-68.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>0</em> in <em>position</em> <em>0</em>: <em>invalid</em> <em>start</em> <em>byte</em>解决方法			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/shengyingpo/article/details/52683635" target="_blank"  rel="noopener" title="UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x80 in position 0: invalid start byte解决方法"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-68.nonecase\"}","index":"68","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/shengyingpo\/article\/details\/52683635","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-68.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-68.nonecase' 			>
				最近在学机器学习，看《机器学习实战》，因为书上的代码实在Python2下编写的，所以转到Python3会有许多问题需要修改。第3章决策树有一个函数如下：defgrabTree(filename):im...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/lht_okk">	
					<span class="blog_title"> lht_okk的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">12-10</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				4673</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/lht_okk/article/details/53557050" target="_blank"  rel="noopener" title="python中尝试df.to_excel的时候&#039;utf8&#039; codec can&#039;t decode byte 0xb8 in position 0: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-69.nonecase\"}","index":"69","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/lht_okk\/article\/details\/53557050","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-69.nonecase\"}","index":"69","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/lht_okk\/article\/details\/53557050","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-69.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-69.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				python中尝试df.to_e<em>x</em>cel的时候&#<em>0</em>39;utf<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em><em>8</em> in <em>position</em> <em>0</em>: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/lht_okk/article/details/53557050" target="_blank"  rel="noopener" title="python中尝试df.to_excel的时候&#039;utf8&#039; codec can&#039;t decode byte 0xb8 in position 0: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-69.nonecase\"}","index":"69","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/lht_okk\/article\/details\/53557050","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-69.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-69.nonecase' 			>
				一开始我是将网页中的unicode转为utf-8后再用中文utf-8去掉中文，之后就报错了代码大概就是这么写Text = soup.select(&#039;.job_bt&#039;)[0].text.replace(...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/huashao0602">	
					<span class="blog_title"> 小西的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">01-13</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				8471</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/huashao0602/article/details/54405986" target="_blank"  rel="noopener" title="ride.py中文用户名：UnicodeDecodeError:&#039;utf8&#039;codec can&#039;t decode byte 0xb2 in position 9: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-70.nonecase\"}","index":"70","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/huashao0602\/article\/details\/54405986","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-70.nonecase\"}","index":"70","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/huashao0602\/article\/details\/54405986","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-70.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-70.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				ride.py中文用户名：<em>UnicodeDecodeError</em>:&#<em>0</em>39;utf<em>8</em>&#<em>0</em>39;<em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em>2 in <em>position</em> 9: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/huashao0602/article/details/54405986" target="_blank"  rel="noopener" title="ride.py中文用户名：UnicodeDecodeError:&#039;utf8&#039;codec can&#039;t decode byte 0xb2 in position 9: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-70.nonecase\"}","index":"70","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/huashao0602\/article\/details\/54405986","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-70.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-70.nonecase' 			>
				上次解决了python中文用户名的问题，最近用RF发现也有这个问题，报UTF-8的错误 错误日志： 解决方法 1、首先创建c:\Robotframework\temp\文件夹（也可以是其他非中文的文件...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/shujujiegou_lixin">	
					<span class="blog_title"> shujujiegou_lixin的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">03-22</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				505</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/shujujiegou_lixin/article/details/64924022" target="_blank"  rel="noopener" title="&#039;utf8&#039; codec can&#039;t decode byte 0x8b in position 14: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-71.nonecase\"}","index":"71","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/shujujiegou_lixin\/article\/details\/64924022","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-71.nonecase\"}","index":"71","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/shujujiegou_lixin\/article\/details\/64924022","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-71.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-71.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				&#<em>0</em>39;utf<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>4: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/shujujiegou_lixin/article/details/64924022" target="_blank"  rel="noopener" title="&#039;utf8&#039; codec can&#039;t decode byte 0x8b in position 14: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-71.nonecase\"}","index":"71","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/shujujiegou_lixin\/article\/details\/64924022","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-71.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-71.nonecase' 			>
				今天遇到一个傻逼的问题，在ubantu服务器上面用vim打开文件乱码，然后跑数据时就会抛上面的错误，但是数据传到mac本地读取又没有问题，后面的解决方案是修改vim的配置文件sudo gedit /e...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_22073849">	
					<span class="blog_title"> Amour</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">10-10</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1万+</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/qq_22073849/article/details/78192242" target="_blank"  rel="noopener" title="错误解决UnicodeDecodeError: &#039;utf8&#039; codec can&#039;t decode byte 0xb1 in position 0: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-72.nonecase\"}","index":"72","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_22073849\/article\/details\/78192242","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-72.nonecase\"}","index":"72","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_22073849\/article\/details\/78192242","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-72.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-72.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				错误解决<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em><em>1</em> in <em>position</em> <em>0</em>: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/qq_22073849/article/details/78192242" target="_blank"  rel="noopener" title="错误解决UnicodeDecodeError: &#039;utf8&#039; codec can&#039;t decode byte 0xb1 in position 0: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-72.nonecase\"}","index":"72","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_22073849\/article\/details\/78192242","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-72.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-72.nonecase' 			>
				UnicodeDecodeError: &#039;utf8&#039; codec can&#039;t decode byte 0xb1 in position 0: invalid start byte			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/ccbrid">	
					<span class="blog_title"> ccbrid的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">12-19</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				1012</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/ccbrid/article/details/78841716" target="_blank"  rel="noopener" title="【error】UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x88 in position 6382: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-73.nonecase\"}","index":"73","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/ccbrid\/article\/details\/78841716","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-73.nonecase\"}","index":"73","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/ccbrid\/article\/details\/78841716","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-73.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-73.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				【error】<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>8</em> in <em>position</em> 63<em>8</em>2: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/ccbrid/article/details/78841716" target="_blank"  rel="noopener" title="【error】UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x88 in position 6382: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-73.nonecase\"}","index":"73","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/ccbrid\/article\/details\/78841716","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-73.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-73.nonecase' 			>
				UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x88 in position 6382: invalid start byte 原因是我写了...			</a>
		</div>
	</div>
	</div>

<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<div class="info-box d-flex align-content-center">
			<p class="from-where">
			<span class="blog_title_box oneline ">
												<a target="_blank" rel="noopener" href="https://blog.csdn.net/meng825">	
					<span class="blog_title"> 懵懂的博客</span>
					</a>
									</span>
		</p>
		<p class="date-and-readNum oneline">
						<span class="hover-show">01-06</span>
			<span class="hover-hide">
				<img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">
				3187</span>
						</p>
		</div>
		<a href="https://blog.csdn.net/meng825/article/details/78992037" target="_blank"  rel="noopener" title="UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x89 in position 0: invalid start byte"
			 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-74.nonecase\"}","index":"74","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/meng825\/article\/details\/78992037","ab":"new"}' data-report-view='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-74.nonecase\"}","index":"74","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/meng825\/article\/details\/78992037","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-74.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-74.nonecase' >
			<h4 class="text-truncate oneline">
				<!-- <span class="recommend-article-type">博文</span> -->
				<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em>9 in <em>position</em> <em>0</em>: <em>invalid</em> <em>start</em> <em>byte</em>			</h4>
		</a>
		<div class="desc">
			<a href="https://blog.csdn.net/meng825/article/details/78992037" target="_blank"  rel="noopener" title="UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x89 in position 0: invalid start byte"
				 data-report-click='{"mod":"popu_387","extra":"{\"utm_medium\":\"distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-74.nonecase\"}","index":"74","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/meng825\/article\/details\/78992037","ab":"new"}' data-report-query='utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-74.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-74.nonecase' 			>
				问题：UnicodeDecodeError: &#039;utf-8&#039; codec can&#039;t decode byte 0x89 in position 0: invalid start byte我运行的命令为...			</a>
		</div>
	</div>
	</div>

                    <div class="recommend-item-box type_hot_word">
                    <div class="content clearfix">
                        <div class="float-left">
                                                                                <span>
                                <a href="https://java.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://java.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://java.csdn.net/","index":"#"}'  target="_blank">
                                Java</a>
                            </span>
                                                        <span>
                                <a href="https://c1.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://c1.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://c1.csdn.net/","index":"#"}'  target="_blank">
                                C语言</a>
                            </span>
                                                        <span>
                                <a href="https://python.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://python.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://python.csdn.net/","index":"#"}'  target="_blank">
                                Python</a>
                            </span>
                                                        <span>
                                <a href="https://cplus.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://cplus.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://cplus.csdn.net/","index":"#"}'  target="_blank">
                                C++</a>
                            </span>
                                                        <span>
                                <a href="https://csharp.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://csharp.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://csharp.csdn.net/","index":"#"}'  target="_blank">
                                C#</a>
                            </span>
                                                        <span>
                                <a href="https://vbn.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://vbn.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://vbn.csdn.net/","index":"#"}'  target="_blank">
                                Visual Basic .NET</a>
                            </span>
                                                        <span>
                                <a href="https://js.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://js.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://js.csdn.net/","index":"#"}'  target="_blank">
                                JavaScript</a>
                            </span>
                                                        <span>
                                <a href="https://php.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://php.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://php.csdn.net/","index":"#"}'  target="_blank">
                                PHP</a>
                            </span>
                                                        <span>
                                <a href="https://sql.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://sql.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://sql.csdn.net/","index":"#"}'  target="_blank">
                                SQL</a>
                            </span>
                                                        <span>
                                <a href="https://go.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://go.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://go.csdn.net/","index":"#"}'  target="_blank">
                                Go语言</a>
                            </span>
                                                        <span>
                                <a href="https://r.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://r.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://r.csdn.net/","index":"#"}'  target="_blank">
                                R语言</a>
                            </span>
                                                        <span>
                                <a href="https://assembly.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://assembly.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://assembly.csdn.net/","index":"#"}'  target="_blank">
                                Assembly language</a>
                            </span>
                                                        <span>
                                <a href="https://swift.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://swift.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://swift.csdn.net/","index":"#"}'  target="_blank">
                                Swift</a>
                            </span>
                                                        <span>
                                <a href="https://ruby.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://ruby.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://ruby.csdn.net/","index":"#"}'  target="_blank">
                                Ruby</a>
                            </span>
                                                        <span>
                                <a href="https://matlab.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://matlab.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://matlab.csdn.net/","index":"#"}'  target="_blank">
                                MATLAB</a>
                            </span>
                                                        <span>
                                <a href="https://plsql.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://plsql.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://plsql.csdn.net/","index":"#"}'  target="_blank">
                                PL/SQL</a>
                            </span>
                                                        <span>
                                <a href="https://perl.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://perl.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://perl.csdn.net/","index":"#"}'  target="_blank">
                                Perl</a>
                            </span>
                                                        <span>
                                <a href="https://vb.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://vb.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://vb.csdn.net/","index":"#"}'  target="_blank">
                                Visual Basic</a>
                            </span>
                                                        <span>
                                <a href="https://obj.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://obj.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://obj.csdn.net/","index":"#"}'  target="_blank">
                                Objective-C</a>
                            </span>
                                                        <span>
                                <a href="https://delphi.csdn.net/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://delphi.csdn.net/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://delphi.csdn.net/","index":"#"}'  target="_blank">
                                Delphi/Object Pascal</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/unity/" data-report-click='{"mod":"1586412712_001","ab":"new","dest":"https://www.csdn.net/unity/","index":"索引#"}' data-report-view='{"mod":"1586412712_001","ab":"new","dest":"https://www.csdn.net/unity/","index":"#"}'  target="_blank">
                                Unity3D</a>
                            </span>
                                                    
                                                </div>
                    </div>
                    </div>
                                    <div class="recommend-loading-box">
                    <img src='https://csdnimg.cn/release/phoenix/images/feedLoading.gif'>
                </div>
                <div class="recommend-end-box">
                    <p class="text-center">没有更多推荐了，<a href="https://blog.csdn.net/" class="c-blue c-blue-hover c-blue-focus">返回首页</a></p>
                </div>
            </div>
                            <div class="template-box">
                    <span>©️2019 CSDN</span>
                <span>皮肤主题: 技术工厂</span>
                <span> 设计师:
                                            CSDN官方博客                                    </span>
                </div>
                    </main>
    </div>
                        <div class="recommend-right  align-items-stretch clearfix" id="rightAside" data-type="recommend">
            <aside class="recommend-right_aside">
                <div id="recommend-right" style="height:100%;position:fixed;top:44px">
                    <div class='d-flex flex-column aside-box groupfile' id="groupfile">
                        <h3 class="aside-title">目录</h3>
                        <div class="align-items-stretch group_item">
                            <div class="pos-box">
                                <div class="scroll-box">
                                    <div class="toc-box"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                                            <div class="recommend-top-adbox">
                        <div id="kp_box_479" data-pid="479"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- PC-博客详情页右侧视窗（自适应） -->
<ins class="adsbygoogle"
     style="display:inline-block;width:300px;height:300px"
     data-ad-client="ca-pub-1076724771190722"
     data-ad-slot="9785577561"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=479&a=874&c=0&k=&d=1&t=3&u=e6c67d163e6242989245429547d69ef7"></div>                        </div>
                                        <div class="recommend-list-box d-flex flex-column aside-box">
                    <ul class="recommend-fixed-box align-items-stretch">
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/qq_18888869/article/details/82625343"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase\"}","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_18888869\/article\/details\/82625343","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase\"}","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_18888869\/article\/details\/82625343","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                python 读取<em>数据</em>出现<em>UnicodeDecodeError</em>：: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em>c<em>8</em> in <em>position</em> <em>0</em>: <em>invalid</em> contin                                            </h5>
                                                                                            <span class="time">09-11</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">6万+ </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/IT13057525818/article/details/83962506"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase\"}","index":"2","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/IT13057525818\/article\/details\/83962506","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase\"}","index":"2","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/IT13057525818\/article\/details\/83962506","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                关于Python 3.<em>x</em><em>爬虫</em>爬取某些网站资源时，碰到<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can‘t......的解决办法                                            </h5>
                                                                                            <span class="time">11-11</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">1452 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/zhang_cl_cn/article/details/94575568"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-3.nonecase\"}","index":"3","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/zhang_cl_cn\/article\/details\/94575568","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-3.nonecase\"}","index":"3","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/zhang_cl_cn\/article\/details\/94575568","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-3.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-3.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                <em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>                                            </h5>
                                                                                            <span class="time">07-03</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">6846 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/zhanghaipeng1989/article/details/41117887"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-4.nonecase\"}","index":"4","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/zhanghaipeng1989\/article\/details\/41117887","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-4.nonecase\"}","index":"4","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/zhanghaipeng1989\/article\/details\/41117887","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-4.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-4.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                解决 &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>                                            </h5>
                                                                                            <span class="time">11-14</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">3万+ </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/shulixu/article/details/52662790"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-5.nonecase\"}","index":"5","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/shulixu\/article\/details\/52662790","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-5.nonecase\"}","index":"5","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/shulixu\/article\/details\/52662790","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-5.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-5.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                python<em>爬虫</em>解析json<em>数据</em><em>报错</em>(unicode error) &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em><em>b</em> in <em>position</em> <em>0</em>                                            </h5>
                                                                                            <span class="time">09-25</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">1万+ </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://bbs.csdn.net/topics/392493830"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-discussion_topic-BlogCommendFromBaidu-6.nonecase\"}","index":"6","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/392493830","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-discussion_topic-BlogCommendFromBaidu-6.nonecase\"}","index":"6","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/392493830","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-discussion_topic-BlogCommendFromBaidu-6.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-discussion_topic-BlogCommendFromBaidu-6.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                <em>爬虫</em>初学<em>报错</em>：<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: i                                            </h5>
                                                                                            <span class="time">12-14</span>
                                                                                                                                </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="http://ask.csdn.net/questions/874405"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-ask_topic-BlogCommendFromBaidu-7.nonecase\"}","index":"7","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/874405","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-ask_topic-BlogCommendFromBaidu-7.nonecase\"}","index":"7","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/874405","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-ask_topic-BlogCommendFromBaidu-7.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-ask_topic-BlogCommendFromBaidu-7.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                socket<em>获取</em>百度报文出现编码错误：<em>UnicodeDecodeError</em>：‘utf-<em>8</em>’<em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> 3<em>1</em><em>1</em>：<em>invalid</em> <em>start</em> <em>byte</em>                                            </h5>
                                                                                            <span class="time">10-17</span>
                                                                                                                                </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/DylanYuan/article/details/81533105"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-8.nonecase\"}","index":"8","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/DylanYuan\/article\/details\/81533105","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-8.nonecase\"}","index":"8","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/DylanYuan\/article\/details\/81533105","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-8.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-8.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                Python乱码 <em>b</em>&#<em>0</em>39;\<em>x</em><em>1</em>f\<em>x</em><em>8</em><em>b</em>\<em>x</em><em>0</em><em>8</em>\<em>x</em><em>0</em><em>0</em>\<em>x</em><em>0</em><em>0</em>\<em>x</em><em>0</em><em>0</em>\<em>x</em><em>0</em><em>0</em>\<em>x</em><em>0</em><em>0</em>\...&#<em>0</em>39;                                            </h5>
                                                                                            <span class="time">08-09</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">1万+ </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/aidanmo/article/details/86513977"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-9.nonecase\"}","index":"9","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/aidanmo\/article\/details\/86513977","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-9.nonecase\"}","index":"9","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/aidanmo\/article\/details\/86513977","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-9.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-9.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                python3 中怎么把类似这样的&#<em>0</em>39;\<em>x</em>e5\<em>x</em>ae\<em>x</em>9d\<em>x</em>e9\<em>x</em><em>b</em><em>8</em>\<em>x</em>a<em>1</em>\<em>x</em>e5\<em>x</em><em>b</em><em>8</em>\<em>x</em><em>8</em>2&#<em>0</em>39;转换成汉字输出                                            </h5>
                                                                                            <span class="time">01-16</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">9821 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://bbs.csdn.net/topics/390386043"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-discussion_topic-BlogCommendFromBaidu-10.nonecase\"}","index":"10","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/390386043","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-discussion_topic-BlogCommendFromBaidu-10.nonecase\"}","index":"10","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/390386043","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-discussion_topic-BlogCommendFromBaidu-10.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-discussion_topic-BlogCommendFromBaidu-10.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                python如何将(u&#<em>0</em>39;\<em>x</em><em>b</em>3\<em>x</em>c2\<em>x</em><em>b</em>d\<em>x</em>a<em>8</em>\<em>x</em>c3\<em>x</em>f4&#<em>0</em>39;,) 转为字符串。                                            </h5>
                                                                                            <span class="time">03-08</span>
                                                                                                                                </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/LaoYuanPython/article/details/100672118"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-11.nonecase\"}","index":"11","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/LaoYuanPython\/article\/details\/100672118","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-11.nonecase\"}","index":"11","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/LaoYuanPython\/article\/details\/100672118","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-11.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-11.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                urlli<em>b</em>.request.urlopen(req).read().<em>decode</em>解析http报文报“&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em>”错处理                                            </h5>
                                                                                            <span class="time">09-09</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">1803 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/dQCFKyQDXYm3F8rB0/article/details/103573055"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-12.nonecase\"}","index":"12","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/dQCFKyQDXYm3F8rB0\/article\/details\/103573055","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-12.nonecase\"}","index":"12","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/dQCFKyQDXYm3F8rB0\/article\/details\/103573055","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-12.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-12.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                @程序员，一文让你掌握Python<em>爬虫</em>！                                            </h5>
                                                                                            <span class="time">12-16</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">1万+ </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/XueShijun1688/article/details/101453664"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-13.nonecase\"}","index":"13","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/XueShijun1688\/article\/details\/101453664","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-13.nonecase\"}","index":"13","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/XueShijun1688\/article\/details\/101453664","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-13.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-13.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                <em>爬虫</em><em>获取</em><em>网页</em><em>数据</em>，<em>报错</em>：<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>b</em>y...                                            </h5>
                                                                                            <span class="time">06-18</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">54 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/wang7807564/article/details/78164855"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-14.nonecase\"}","index":"14","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/wang7807564\/article\/details\/78164855","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-14.nonecase\"}","index":"14","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/wang7807564\/article\/details\/78164855","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-14.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-14.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                Python3解决<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em>..问题 终极解决方案                                            </h5>
                                                                                            <span class="time">10-06</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">27万+ </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/u010483897/article/details/96019099"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-15.nonecase\"}","index":"15","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/u010483897\/article\/details\/96019099","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-15.nonecase\"}","index":"15","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/u010483897\/article\/details\/96019099","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-15.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-15.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                链接 达梦<em>数据</em>库，出现<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>0</em> in <em>position</em> <em>0</em>:  错误                                            </h5>
                                                                                            <span class="time">07-15</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">5902 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/qq_33144323/article/details/80290799"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-16.nonecase\"}","index":"16","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_33144323\/article\/details\/80290799","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-16.nonecase\"}","index":"16","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_33144323\/article\/details\/80290799","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-16.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-16.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                异常处理： <em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t                                            </h5>
                                                                                            <span class="time">05-12</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">1万+ </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/weixin_36842174/article/details/88924660"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-17.nonecase\"}","index":"17","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_36842174\/article\/details\/88924660","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-17.nonecase\"}","index":"17","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_36842174\/article\/details\/88924660","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-17.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-17.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                python <em>爬虫</em> 中乱码问题<em>0</em><em>x</em><em>b</em>5 和<em>b</em>&#<em>0</em>39;\<em>x</em><em>1</em>f\<em>x</em><em>8</em><em>b</em>\<em>x</em><em>0</em><em>8</em>                                            </h5>
                                                                                            <span class="time">03-31</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">1412 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/baidu_19473529/article/details/54949453"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-18.nonecase\"}","index":"18","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/baidu_19473529\/article\/details\/54949453","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-18.nonecase\"}","index":"18","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/baidu_19473529\/article\/details\/54949453","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-18.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-18.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                Python解决编码，如\<em>x</em>e9\<em>x</em>9d\<em>x</em>92\<em>x</em>e<em>8</em>\<em>x</em>9<em>b</em>\<em>x</em>99\<em>x</em>e7\<em>x</em><em>8</em>e\<em>x</em><em>8</em><em>b</em>\<em>x</em>e5\<em>x</em>ad\<em>x</em>9<em>0</em>转中文                                            </h5>
                                                                                            <span class="time">02-09</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">6万+ </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/Mr_jia_qi/article/details/102932916"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-19.nonecase\"}","index":"19","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/Mr_jia_qi\/article\/details\/102932916","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-19.nonecase\"}","index":"19","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/Mr_jia_qi\/article\/details\/102932916","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-19.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-19.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                <em>爬虫</em>遇到<em>UnicodeDecodeError</em>，或遇到解码失败的解决方法                                            </h5>
                                                                                            <span class="time">11-06</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">116 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/qq_43391383/article/details/87295515"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-20.nonecase\"}","index":"20","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_43391383\/article\/details\/87295515","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-20.nonecase\"}","index":"20","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_43391383\/article\/details\/87295515","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-20.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-20.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                Scrapy框架爬取时，<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em><em>1</em> in <em>position</em>解决方法                                            </h5>
                                                                                            <span class="time">02-14</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">5832 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/gaoprincess/article/details/79455727"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-21.nonecase\"}","index":"21","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/gaoprincess\/article\/details\/79455727","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-21.nonecase\"}","index":"21","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/gaoprincess\/article\/details\/79455727","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-21.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-21.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                python3 网络<em>爬虫</em><em>报错</em>“<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em>”解决方案                                            </h5>
                                                                                            <span class="time">03-06</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">1949 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/Hudeyu777/article/details/76023441"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-22.nonecase\"}","index":"22","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/Hudeyu777\/article\/details\/76023441","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-22.nonecase\"}","index":"22","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/Hudeyu777\/article\/details\/76023441","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-22.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-22.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                python 网络<em>爬虫</em><em>报错</em>“<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em>”解决方案                                            </h5>
                                                                                            <span class="time">07-24</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">1万+ </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/qq_28256625/article/details/87716930"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-23.nonecase\"}","index":"23","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_28256625\/article\/details\/87716930","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-23.nonecase\"}","index":"23","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_28256625\/article\/details\/87716930","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-23.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-23.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>(<em>爬虫</em>问题)                                            </h5>
                                                                                            <span class="time">02-19</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">808 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/qq_31589695/article/details/73694451"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-24.nonecase\"}","index":"24","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_31589695\/article\/details\/73694451","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-24.nonecase\"}","index":"24","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_31589695\/article\/details\/73694451","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-24.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-24.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                安装Scrapy遇到<em>UnicodeDecodeError</em>问题解决方法                                            </h5>
                                                                                            <span class="time">06-24</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">2238 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://bbs.csdn.net/topics/390458887"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-discussion_topic-BlogCommendFromBaidu-25.nonecase\"}","index":"25","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/390458887","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-discussion_topic-BlogCommendFromBaidu-25.nonecase\"}","index":"25","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/390458887","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-discussion_topic-BlogCommendFromBaidu-25.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-discussion_topic-BlogCommendFromBaidu-25.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                字符编码问题(unicode error) &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em><em>b</em> in <em>position</em> <em>0</em>                                            </h5>
                                                                                            <span class="time">05-15</span>
                                                                                                                                </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/qq_41589031/article/details/81008006"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-26.nonecase\"}","index":"26","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_41589031\/article\/details\/81008006","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-26.nonecase\"}","index":"26","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_41589031\/article\/details\/81008006","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-26.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-26.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                python3.6.5 读入t<em>x</em>t文件<em>报错</em>（&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> 6<em>0</em>: <em>invalid</em> <em>start</em> <em>byte</em>）的解决                                            </h5>
                                                                                            <span class="time">07-11</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">1211 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/weixin_40930415/article/details/80756828"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-27.nonecase\"}","index":"27","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_40930415\/article\/details\/80756828","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-27.nonecase\"}","index":"27","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_40930415\/article\/details\/80756828","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-27.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-27.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                解决 <em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em>a in <em>position</em> 5: <em>invalid</em> <em>start</em> <em>byte</em>                                            </h5>
                                                                                            <span class="time">06-21</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">2万+ </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/stone9159/article/details/79071316"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-28.nonecase\"}","index":"28","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/stone9159\/article\/details\/79071316","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-28.nonecase\"}","index":"28","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/stone9159\/article\/details\/79071316","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-28.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-28.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                Python读取文件<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>b</em>c in <em>position</em> 2: <em>invalid</em> <em>start</em> <em>byte</em>                                            </h5>
                                                                                            <span class="time">01-16</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">8万+ </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/Mr_HXJ/article/details/79767054"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-29.nonecase\"}","index":"29","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/Mr_HXJ\/article\/details\/79767054","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-29.nonecase\"}","index":"29","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/Mr_HXJ\/article\/details\/79767054","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-29.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-29.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                Python<em>爬虫</em>报<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em>a<em>1</em> in <em>position</em> 225: <em>invalid</em> <em>start</em> <em>b</em>yt                                            </h5>
                                                                                            <span class="time">03-31</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">2653 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/qq_40309183/article/details/80716637"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-30.nonecase\"}","index":"30","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_40309183\/article\/details\/80716637","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-30.nonecase\"}","index":"30","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_40309183\/article\/details\/80716637","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-30.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-30.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                Python3解决<em>UnicodeDecodeError</em>:&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>                                            </h5>
                                                                                            <span class="time">06-17</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">1万+ </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/weixin_30247159/article/details/99158927"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-31.nonecase\"}","index":"31","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/weixin_30247159\/article\/details\/99158927","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-31.nonecase\"}","index":"31","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/weixin_30247159\/article\/details\/99158927","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-31.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-31.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                python<em>爬虫</em>程序中:&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>问题的原因及解决办法...                                            </h5>
                                                                                            <span class="time">01-19</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">333 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/qq_30365951/article/details/53414373"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-32.nonecase\"}","index":"32","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_30365951\/article\/details\/53414373","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-32.nonecase\"}","index":"32","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/qq_30365951\/article\/details\/53414373","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-32.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-32.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                解决 python<em>爬虫</em>&#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>‘错误                                            </h5>
                                                                                            <span class="time">11-30</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">1739 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/qq_24137739/article/details/85644051"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-33.nonecase\"}","index":"33","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_24137739\/article\/details\/85644051","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-33.nonecase\"}","index":"33","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_24137739\/article\/details\/85644051","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-33.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-33.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                问题：<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em>ff in <em>position</em> <em>0</em>: <em>invalid</em> <em>start</em> <em>byte</em>                                            </h5>
                                                                                            <span class="time">01-02</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">417 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/yzgsunshine/article/details/88574401"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-34.nonecase\"}","index":"34","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/yzgsunshine\/article\/details\/88574401","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-34.nonecase\"}","index":"34","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/yzgsunshine\/article\/details\/88574401","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-34.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-34.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                <em>爬虫</em>第一篇——Google翻译服务                                            </h5>
                                                                                            <span class="time">03-15</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">715 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/the_fool_/article/details/89183352"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-35.nonecase\"}","index":"35","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/the_fool_\/article\/details\/89183352","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-35.nonecase\"}","index":"35","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/the_fool_\/article\/details\/89183352","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-35.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromBaidu-35.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                【python】<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>                                            </h5>
                                                                                            <span class="time">04-10</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">151 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="http://ask.csdn.net/questions/344097"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-ask_topic-BlogCommendFromBaidu-36.nonecase\"}","index":"36","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/344097","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-ask_topic-BlogCommendFromBaidu-36.nonecase\"}","index":"36","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/344097","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-ask_topic-BlogCommendFromBaidu-36.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-ask_topic-BlogCommendFromBaidu-36.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                python  <em>invalid</em> <em>start</em> <em>byte</em>                                            </h5>
                                                                                            <span class="time">11-07</span>
                                                                                                                                </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="http://ask.csdn.net/questions/783398"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-ask_topic-BlogCommendFromBaidu-37.nonecase\"}","index":"37","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/783398","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-ask_topic-BlogCommendFromBaidu-37.nonecase\"}","index":"37","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/783398","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-ask_topic-BlogCommendFromBaidu-37.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-ask_topic-BlogCommendFromBaidu-37.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                pytorch cuda版运行出错 <em>invalid</em> <em>start</em> <em>byte</em>                                            </h5>
                                                                                            <span class="time">09-10</span>
                                                                                                                                </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/blue_lll/article/details/98596989"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-38.nonecase\"}","index":"38","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/blue_lll\/article\/details\/98596989","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-38.nonecase\"}","index":"38","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/blue_lll\/article\/details\/98596989","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-38.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-38.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                读取文件转码问报‘<em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em>a<em>8</em> in <em>position</em> 49<em>1</em>7: <em>invalid</em> <em>start</em> <em>b</em>y                                            </h5>
                                                                                            <span class="time">08-06</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">1222 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/CSDNedu/article/details/104521554"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-39.nonecase\"}","index":"39","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/CSDNedu\/article\/details\/104521554","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-39.nonecase\"}","index":"39","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/CSDNedu\/article\/details\/104521554","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-39.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-39.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                完了！Python黄了！ <em>8</em><em>0</em>%的程序员：痛快！你怎么看？                                            </h5>
                                                                                            <span class="time">02-26</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">7万+ </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                                    <li class="right-item">
                                <a
                                        href="https://blog.csdn.net/sunybl/article/details/79815981"
                                        target="_blank"
                                     data-report-click='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-40.nonecase\"}","index":"40","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/sunybl\/article\/details\/79815981","ab":"new"}'                                     data-report-view='{"mod":"popu_858","extra":"{\"utm_medium\":\"distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-40.nonecase\"}","index":"40","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/sunybl\/article\/details\/79815981","ab":"new"}'                                     data-report-query='utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-40.nonecase&depth_1-utm_source=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2-40.nonecase'                                 >
                                    <div class="context-box ">
                                        <div class="content clearfix ">
                                            <h5>
                                                python3  <em>UnicodeDecodeError</em>: &#<em>0</em>39;utf-<em>8</em>&#<em>0</em>39; <em>codec</em> can&#<em>0</em>39;t <em>decode</em> <em>byte</em> <em>0</em><em>x</em><em>8</em><em>b</em> in <em>position</em> <em>1</em>: <em>invalid</em> <em>start</em> <em>byte</em>                                            </h5>
                                                                                            <span class="time">04-04</span>
                                                                                                                                        <span class="read"><img src="https://csdnimg.cn/release/phoenix/template/new_img/readCountWhite.png" alt="">6773 </span>
                                                                                    </div>
                                                                            </div>
                                </a>
                            </li>
                                            </ul>
                    </div>
                </div>
            </aside>
        </div>
    
    </div>
<div class="mask-dark"></div>
<script>
    var recommendCount = 74;
    recommendCount = recommendCount > 1 ? (recommendCount + (recommendCount>6 ? 2 : 1)) : recommendCount;
    var ChannelId = 28;
    var articleId = "85011072";
    var commentscount = 9;
    var islock = false;
    var curentUrl = "https://blog.csdn.net/hj_xy_0705/java/article/details/85011072";
    var myUrl = "https://my.csdn.net/";
    //1禁止评论，2正常
    var commentAuth = 2;
    //百度搜索
    var baiduKey = "爬虫获取网页数据，报错：UnicodeDecodeError: utf-8 codec cant decode byte 0x8b in position 1: invalid start by_爬虫_hj_xy_0705的博客-CSDN博客";
    var needInsertBaidu = true;
    // 代码段样式
    var codeStyle = 'atom-one-dark';
	var highlight = ["\u722c\u866b","\u83b7\u53d6","\u7f51\u9875","\u6570\u636e","\u62a5\u9519","UnicodeDecodeError","'utf-","8","'","codec","can't","decode","byte","0","x","8","b","position","1","invalid","start"];//高亮数组

    var share_card_url = 'https://blog.csdn.net/hj_xy_0705/article/shareArticleCardPage?article_id=85011072'
    var RecommendBlogExpertList = [];
	var articleType = 1;
	var CopyrightContent = '';
    
        var recommendRegularDomainArr = ["blog.csdn.net\/.+\/article\/details\/","download.csdn.net\/download\/","edu.csdn.net\/course\/detail\/"];
</script>
<script src="https://csdnimg.cn/public/sandalstrap/1.4/js/sandalstrap.min.js"></script>
<script src="https://csdnimg.cn/release/phoenix/vendor/pagination/paging-3d3b805766.js"></script>
<div class="skin-boxshadow"></div>
<div class="pay-code">
        <div class="pay-money">应支付<span class="pay-money-span" data-nowprice='0' data-oldprice='0.00'>0元</span></div>
        <div class=content>
        <div id="payCode" data-id="">
                <div class="renovate">
                    <img src="https://csdnimg.cn/release/phoenix/static_blog/images/pay-time-out.png">
                    <span>点击重新获取</span>
                </div>
            </div>
            <div class="pay-style"><span><img src="https://csdnimg.cn/release/phoenix/static_blog/images/wx.png"></span><span><img src="https://csdnimg.cn/release/phoenix/static_blog/images/zfb.png"></span><span><img src="https://csdnimg.cn/release/phoenix/static_blog/images/JD.png"></span><span class="text">扫码支付</span></div>
        </div>
        <div class="bt-close"><svg t="1567152543821" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10924" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12"><defs><style type="text/css"></style></defs><path d="M512 438.378667L806.506667 143.893333a52.032 52.032 0 1 1 73.6 73.621334L585.621333 512l294.485334 294.485333a52.074667 52.074667 0 0 1-73.6 73.642667L512 585.621333 217.514667 880.128a52.053333 52.053333 0 1 1-73.621334-73.642667L438.378667 512 143.893333 217.514667a52.053333 52.053333 0 1 1 73.621334-73.621334L512 438.378667z" fill="" p-id="10925"></path></svg></div>
        <p style="margin-top: 8px;font-size: 14px;" class="text-center">支付成功即可阅读</p>
    </div>
<div style="display:none;">
	<img src="" onerror='setTimeout(function(){if(!/(csdn.net|iteye.com|baiducontent.com|googleusercontent.com|360webcache.com|sogoucdn.com|bingj.com|baidu.com)$/.test(window.location.hostname)){window.location.href="\x68\x74\x74\x70\x73\x3a\x2f\x2f\x77\x77\x77\x2e\x63\x73\x64\x6e\x2e\x6e\x65\x74"}},3000);'>
</div>
</body>
    <!-- 高亮未与 markdown兼容  -->
	<link rel="stylesheet" href="https://csdnimg.cn/release/blog_editor_html/release1.6.0/ckeditor/plugins/chart/chart.css" />
	<script type="text/javascript" src="https://csdnimg.cn/release/blog_editor_html/release1.6.0/ckeditor/plugins/chart/lib/chart.min.js"></script>
    <script type="text/javascript" src="https://csdnimg.cn/release/blog_editor_html/release1.6.0/ckeditor/plugins/chart/widget2chart.js"></script>
    <script type="text/javascript" src="https://csdnimg.cn/release/phoenix/production/pc_wap_common-f91259fb12.js"></script>
<link rel="stylesheet" href="https://csdnimg.cn/release/blog_editor_html/release1.6.0/ckeditor/plugins/codesnippet/lib/highlight/styles/atom-one-dark.css">
<script>
 // 全局声明
 if (window.csdn === undefined) {
      window.csdn = {};
    }
    window.csdn.sideToolbar = {
        options: {
            report:{
                isShow: true,
            },
            qr: {
                isShow: false,
            }
        }
    }
    $(function(){
        $(document).on('click',"a.option-box[data-type='report']",function() {
            window.csdn.userLogin.loadAjax(function(res){
                showReport(false,articleTitles);
            })
        });
    })
</script>
<script src="https://csdnimg.cn/release/phoenix/vendor/iconfont/csdnc-c439e66521.js"></script>
<script src="https://csdnimg.cn/release/phoenix/template/new_js/common-ae342f3be4.min.js"></script>
<script src="https://csdnimg.cn/release/phoenix/template/new_js/detail-2f7c5ee1d4.min.js"></script>
<script src="//csdnimg.cn/release/download/old_static/js/qrcode.js"></script>
<script src="https://csdnimg.cn/release/cart/pub/1.0.4/cart_jsonp.js?v=2"></script>
<script src="https://csdnimg.cn/release/phoenix/template/new_js/column_pay-b9bd326887.min.js"></script>
	
<script src="https://g.csdnimg.cn/copyright/1.0.3/copyright.js" type="text/javascript"></script>
<script type="text/javascript"  src="https://g.csdnimg.cn/??login-box/1.1.1/30/login-box.js,login-box/1.1.1/30/login-auto.js"></script>
<script>
    $(".MathJax").remove();
    if ($('div.markdown_views pre.prettyprint code.hljs').length > 0) {
        $('div.markdown_views')[0].className = 'markdown_views';
    }
</script>
<script type="text/javascript" src="https://csdnimg.cn/release/blog_mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">
    MathJax.Hub.Config({
            "HTML-CSS": {
                    linebreaks: { automatic: true, width: "94%container" },
                    imageFont: null
            },
            tex2jax: {
                preview: "none"
            },
            mml2jax: {
                preview: 'none'
            }
    });
</script>
    <script src="//g.csdnimg.cn/baidu-search/1.0.3/baidu-search.js"  type="text/javascript"></script>
</html>
